mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-25 08:18:24 -04:00
add scientific name to crops create feature spec
This commit is contained in:
1 parent
253b5a3f85
commit
a67a55c599
1 file changed
+2
@@ -43,8 +43,10 @@ feature "crop wranglers" do
|
||||
click_link 'Add Crop'
|
||||
fill_in 'Name', with: "aubergine"
|
||||
fill_in 'Wikipedia URL', with: "http://en.wikipedia.org/wiki/Maize"
|
||||
fill_in 'crop_scientific_names_attributes_0_scientific_name', with: "planticus maximus"
|
||||
click_on 'Save'
|
||||
expect(page).to have_content 'Crop was successfully created'
|
||||
expect(page).to have_content 'planticus maximus'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user