lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -24,10 +24,10 @@
# service = described_class.new
# result = service.call
# expect(result).to be(true)
# end
class ExampleLength < Cop
- include RuboCop::RSpec::SpecOnly, CodeLength
+ include CodeLength
EXAMPLE_BLOCKS = RuboCop::RSpec::Language::Examples::ALL
def on_block(node)
method, _args, _body = *node