Update link in spec

This commit is contained in:
Brenda committed 2020-02-29 19:49:57 +13:00
1 parent 3c392d43ee
commit c099580b70
1 file changed
+2 -2
+2 -2
View File
@@ -31,11 +31,11 @@ describe "crop detail page", js: true do
before { subject }
it "has a link to plant the crop" do
click_link 'Add to garden'
click_link 'Plant'
expect(page).to have_link "add new garden"
end
it "has a link to harvest the crop" do
click_link 'Record harvest'
click_link 'Harvest'
expect(page).to have_link "leaf"
end
it "has a link to add seeds" do