diff --git a/spec/features/admin/legislation/draft_versions_spec.rb b/spec/features/admin/legislation/draft_versions_spec.rb index a17c2522e..8aac1d201 100644 --- a/spec/features/admin/legislation/draft_versions_spec.rb +++ b/spec/features/admin/legislation/draft_versions_spec.rb @@ -85,7 +85,7 @@ feature 'Admin legislation draft versions' do click_link "All" - expect(page).to have_content 'An example legislation process' + expect(page).not_to have_link "All" click_link 'An example legislation process' click_link 'Drafting'