lib/rubocop/cop/rspec/any_instance.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/any_instance.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -31,10 +31,9 @@
def on_send(node)
disallowed_stub(node) do |method|
add_offense(
node,
- location: :expression,
message: format(MSG, method: method)
)
end
end
end