lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -50,10 +50,10 @@
describe_with_metadata(node) do |pairs|
return if pairs.any?(&method(:rails_metadata?))
end
- add_offense(args.first, location: :expression)
+ add_offense(args.first)
end
end
end
end
end