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