lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/verified_doubles.rb in rubocop-rspec-1.34.0

- old
+ new

@@ -32,10 +32,10 @@ def on_send(node) unverified_double(node) do |name, *_args| return if name.nil? && cop_config['IgnoreNameless'] return if symbol?(name) && cop_config['IgnoreSymbolicNames'] - add_offense(node, location: :expression) + add_offense(node) end end private