lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.18.0 vs lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.19.0
- old
+ new
@@ -55,10 +55,10 @@
glob = glob_for(args)
return if filename_ends_with?(glob)
- add_offense(node, :expression, format(MSG, glob))
+ add_offense(node, location: :expression, message: format(MSG, glob))
end
private
def routing_spec?(args)