From e080407deb6386d86d8caa138729611a57b90dea Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 8 Jul 2019 10:07:52 +1200 Subject: [PATCH] update spec to not have links to plantings with not dates --- spec/features/members/profile_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/members/profile_spec.rb b/spec/features/members/profile_spec.rb index 573b0398a..cfda9a7d0 100644 --- a/spec/features/members/profile_spec.rb +++ b/spec/features/members/profile_spec.rb @@ -113,7 +113,7 @@ describe "member profile", js: true do it { expect(page).to have_link href: planting_path(old_planting) } it { expect(page).to have_link href: planting_path(finished_planting) } it { expect(page).to have_link href: planting_path(no_planted_at_planting) } - it { expect(page).to have_text 'unknown date' } + it { expect(page).not_to have_text href: planting_path(no_planted_at_planting) } end context 'member has seeds' do