lib/rubocop/cop/rspec/duplicated_metadata.rb in rubocop-rspec-2.23.2 vs lib/rubocop/cop/rspec/duplicated_metadata.rb in rubocop-rspec-2.24.0
- old
+ new
@@ -17,10 +17,10 @@
include Metadata
include RangeHelp
MSG = 'Avoid duplicated metadata.'
- def on_metadata(symbols, _pairs)
+ def on_metadata(symbols, _hash)
symbols.each do |symbol|
on_metadata_symbol(symbol)
end
end