spec/rubocop/cop/rspec/cop_spec.rb in rubocop-rspec-1.20.1 vs spec/rubocop/cop/rspec/cop_spec.rb in rubocop-rspec-1.21.0
- old
+ new
@@ -29,9 +29,10 @@
def on_send(node)
add_offense(node, location: :expression, message: 'I flag everything')
end
end
+ # rubocop:enable ClassAndModuleChildren
RuboCop::RSpec::FakeCop
end
let(:rspec_patterns) { ['_spec.rb$', '(?:^|/)spec/'] }