From b8cc7c5389f5ae307c41123e12f8a2ec30c3430e Mon Sep 17 00:00:00 2001 From: voodoorai2000 Date: Wed, 19 Dec 2018 11:22:02 +0100 Subject: [PATCH] Apply rubocop not_to rule --- spec/features/legislation/processes_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/legislation/processes_spec.rb b/spec/features/legislation/processes_spec.rb index bac9f43c5..5cc3e753e 100644 --- a/spec/features/legislation/processes_spec.rb +++ b/spec/features/legislation/processes_spec.rb @@ -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