mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-06 08:27:47 -05:00
17 lines
456 B
Ruby
17 lines
456 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe "Requesting Crops" do
|
|
let!(:requested_crop) { create(:crop, requester: member, approval_status: 'pending', name: 'puha for dinner') }
|
|
|
|
context 'signed in' do
|
|
include_context 'signed in member'
|
|
before { visit requested_crops_path }
|
|
|
|
it "creating a crop with multiple scientific and alternate name", :js do
|
|
expect(page).to have_content "puha for dinner"
|
|
end
|
|
end
|
|
end
|