lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -23,10 +23,10 @@
# it do
# service = described_class.new
# result = service.call
# expect(result).to be(true)
# end
- class ExampleLength < Cop
+ class ExampleLength < Base
include CodeLength
MSG = 'Example has too many lines [%<total>d/%<max>d].'
def on_block(node)