mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-01 13:10:58 -05:00
Changed selector in view spec
it was having trouble finding the link
This commit is contained in:
@@ -58,7 +58,7 @@ feature "Planting a crop", js: true do
|
||||
end
|
||||
|
||||
scenario "button on index to edit garden" do
|
||||
first(".garden-info").click_link("Edit")
|
||||
first(".garden-info").click_link("edit_garden_link")
|
||||
expect(page).to have_content 'Edit garden'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user