Apply rubocop not_to rule

This commit is contained in:
voodoorai2000
2018-12-19 11:22:02 +01:00
parent a8de5306c8
commit b8cc7c5389

View File

@@ -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