lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -40,10 +40,10 @@
(send nil? :have_received
...)
...)
PATTERN
- def on_block(node)
+ def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
return unless example?(node)
null_double(node) do |var, receiver|
have_received_usage(node) do |expected|
next if expected != var