lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.41.0 vs lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.42.0
- old
+ new
@@ -15,10 +15,10 @@
# # AllCops:
# # RSpec:
# # Patterns:
# # - '_test.rb$'
# # - '(?:^|/)test/'
- class Cop < ::RuboCop::Cop::Cop
+ class Cop < ::RuboCop::Cop::Base
include RuboCop::RSpec::Language
include RuboCop::RSpec::Language::NodePattern
DEFAULT_CONFIGURATION =
RuboCop::RSpec::CONFIG.fetch('AllCops').fetch('RSpec')