From f13bc44e7e5f3e4d184f6a72ee5045b8dbb676e6 Mon Sep 17 00:00:00 2001 From: Brenda Date: Sun, 1 Mar 2020 08:33:04 +1300 Subject: [PATCH] update link labels in spec --- spec/features/crops/crop_detail_page_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/crops/crop_detail_page_spec.rb b/spec/features/crops/crop_detail_page_spec.rb index d679fdcce..05ba54f54 100644 --- a/spec/features/crops/crop_detail_page_spec.rb +++ b/spec/features/crops/crop_detail_page_spec.rb @@ -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