lib/rubocop/cop/rspec/capybara/negation_matcher.rb in rubocop-rspec-2.15.0 vs lib/rubocop/cop/rspec/capybara/negation_matcher.rb in rubocop-rspec-2.16.0
- old
+ new
@@ -22,10 +22,10 @@
#
# # good
# expect(page).to have_no_selector
# expect(page).to have_no_css('a')
#
- class NegationMatcher < Base
+ class NegationMatcher < ::RuboCop::Cop::Base
extend AutoCorrector
include ConfigurableEnforcedStyle
MSG = 'Use `expect(...).%<runner>s %<matcher>s`.'
CAPYBARA_MATCHERS = %w[