Apply rubocop not_to rule
This commit is contained in:
@@ -178,7 +178,7 @@ feature 'Legislation' do
|
|||||||
visit legislation_process_path(process)
|
visit legislation_process_path(process)
|
||||||
|
|
||||||
expect(page).to have_content("This is the process homepage")
|
expect(page).to have_content("This is the process homepage")
|
||||||
expect(page).to_not have_content("Participate in the debate")
|
expect(page).not_to have_content("Participate in the debate")
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'disabled', :with_frozen_time do
|
scenario 'disabled', :with_frozen_time do
|
||||||
@@ -190,7 +190,7 @@ feature 'Legislation' do
|
|||||||
visit legislation_process_path(process)
|
visit legislation_process_path(process)
|
||||||
|
|
||||||
expect(page).to have_content("This phase is not open yet")
|
expect(page).to have_content("This phase is not open yet")
|
||||||
expect(page).to_not have_content("This is the process homepage")
|
expect(page).not_to have_content("This is the process homepage")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user