lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -45,15 +45,16 @@
# msg = <<~HEREDOC # +1
# Heredoc
# content.
# HEREDOC
# end # 5 points
+ #
class ExampleLength < Base
include CodeLength
LABEL = 'Example'
- def on_block(node)
+ def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
return unless example?(node)
check_code_length(node)
end