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:
@@ -57,6 +57,6 @@ feature "Admin custom images" do
|
||||
click_link "Delete"
|
||||
end
|
||||
|
||||
expect(page).to_not have_css("img[src*='social_media_icon.png']")
|
||||
expect(page).not_to have_css("img[src*='social_media_icon.png']")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user