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