method
ok_to_invoke_stub?
ok_to_invoke_stub?(stub, expectation)
public
Hide source
# File lib/spec/mocks/proxy.rb, line 139 def ok_to_invoke_stub?(stub, expectation) stub && (!expectation || expectation.called_max_times?) end