mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-22 06:54:23 -04:00
Fixed bug in garden spec
This commit is contained in:
1 parent
34b6b54616
commit
6077d4da34
1 file changed
+1
-1
@@ -130,7 +130,7 @@ feature "Harvesting a crop", :js, :elasticsearch do
|
||||
end
|
||||
|
||||
scenario "linking to a planting" do
|
||||
expect(page).to have_content planting.to_s
|
||||
expect(page).to have_content existing_planting.to_s
|
||||
choose("harvest_planting_id_#{existing_planting.id}")
|
||||
click_button "save"
|
||||
expect(page).to have_link(href: planting_path(existing_planting))
|
||||
|
||||
Reference in new issue
Block a user