From c099580b70fafd63f725594e2bc9fa2344f968d0 Mon Sep 17 00:00:00 2001 From: Brenda Date: Sat, 29 Feb 2020 19:49:57 +1300 Subject: [PATCH] Update link 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 b12cdcd70..d679fdcce 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 '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