lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -16,10 +16,10 @@
# end
#
class RepeatedExample < Base
MSG = "Don't repeat examples within an example group."
- def on_block(node)
+ def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
return unless example_group?(node)
repeated_examples(node).each do |repeated_example|
add_offense(repeated_example)
end