Enable RSpec/NotToNot cop and fix all issues

Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot
This commit is contained in:
Bertocq
2018-01-07 17:39:48 +01:00
parent 79a3b97c64
commit 34bb9d65b1
143 changed files with 1041 additions and 1038 deletions

View File

@@ -29,7 +29,7 @@ feature 'Level three verification' do
expect(page).to have_content "Code correct. Your account is now verified"
expect(page).to_not have_link "Verify my account"
expect(page).not_to have_link "Verify my account"
expect(page).to have_content "Account verified"
end
@@ -60,7 +60,7 @@ feature 'Level three verification' do
expect(page).to have_content "You are a verified user"
expect(page).to_not have_link "Verify my account"
expect(page).not_to have_link "Verify my account"
expect(page).to have_content "Account verified"
end