lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.15.0 vs lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.15.1

- old
+ new

@@ -31,13 +31,14 @@ # RSpec: # Patterns: # - '_test.rb$' # - '(?:^|/)test/' class Cop < WorkaroundCop + include RuboCop::RSpec::Language + include RuboCop::RSpec::Language::NodePattern + DEFAULT_CONFIGURATION = RuboCop::RSpec::CONFIG.fetch('AllCops').fetch('RSpec') - - include RuboCop::RSpec::Language, RuboCop::RSpec::Language::NodePattern # Invoke the original inherited hook so our cops are recognized def self.inherited(subclass) RuboCop::Cop::Cop.inherited(subclass) end