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