lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -20,10 +20,10 @@
def on_block(node)
return unless example_group?(node)
repeated_examples(node).each do |repeated_example|
- add_offense(repeated_example, location: :expression)
+ add_offense(repeated_example)
end
end
private