mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-27 01:08:30 -04:00
update link labels in spec
This commit is contained in:
1 parent
5c7b8254b0
commit
f13bc44e7e
1 file changed
+2
-2
@@ -31,11 +31,11 @@ describe "crop detail page", js: true do
|
||||
before { subject }
|
||||
|
||||
it "has a link to plant the crop" do
|
||||
click_link 'Plant'
|
||||
click_link 'Add to my garden'
|
||||
expect(page).to have_link "add new garden"
|
||||
end
|
||||
it "has a link to harvest the crop" do
|
||||
click_link 'Harvest'
|
||||
click_link 'Record harvest'
|
||||
expect(page).to have_link "leaf"
|
||||
end
|
||||
it "has a link to add seeds" do
|
||||
|
||||
Reference in new issue
Block a user