lib/minitest_to_rspec/minitest/stub.rb
# Returns true if we are stubbing any instance of `receiver`.
Returns true if we are stubbing any instance of `receiver`.
Returns true if we are stubbing any instance of ` receiver ` .
def any_instance?
        @call.calls_in_receiver_chain.any? { |i|
          i.method_name.to_s.include?('any_instance')
        }
      end
def any_instance? @call . calls_in_receiver_chain . any? { | i | i . method_name . to_s . include? ( 'any_instance' ) } end
Returns true if we are stubbing any instance of `receiver`.
Returns true if we are stubbing any instance of ` receiver ` .