mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-30 04:01:00 -05:00
Find maze button in spec
This commit is contained in:
@@ -152,7 +152,9 @@ feature "Planting a crop", :js, :elasticsearch do
|
||||
|
||||
scenario "Planting from crop page" do
|
||||
visit crop_path(maize)
|
||||
click_link "Plant this"
|
||||
within '.crop-actions' do
|
||||
click_link "Plant maize"
|
||||
end
|
||||
within "form#new_planting" do
|
||||
expect(page).to have_selector "input[value='maize']"
|
||||
click_button "Save"
|
||||
|
||||
Reference in New Issue
Block a user