Merge pull request #3118 from consul/rubocop-not-to

Apply Rubocop not_to rule
This commit is contained in:
Raimond Garcia
2018-12-19 12:47:37 +01:00
committed by GitHub

View File

@@ -178,7 +178,7 @@ feature 'Legislation' do
visit legislation_process_path(process)
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
scenario 'disabled', :with_frozen_time do
@@ -190,7 +190,7 @@ feature 'Legislation' do
visit legislation_process_path(process)
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