mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
update spec to not have links to plantings with not dates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user