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

@@ -8,12 +8,12 @@ feature "Custom content blocks" do
visit "/?locale=en"
expect(page).to have_content("content for top links")
expect(page).to_not have_content("contenido para top links")
expect(page).not_to have_content("contenido para top links")
visit "/?locale=es"
expect(page).to have_content("contenido para top links")
expect(page).to_not have_content("content for top links")
expect(page).not_to have_content("content for top links")
end
scenario "footer" do
@@ -23,11 +23,11 @@ feature "Custom content blocks" do
visit "/?locale=en"
expect(page).to have_content("content for footer")
expect(page).to_not have_content("contenido para footer")
expect(page).not_to have_content("contenido para footer")
visit "/?locale=es"
expect(page).to have_content("contenido para footer")
expect(page).to_not have_content("content for footer")
expect(page).not_to have_content("content for footer")
end
end