method
ok_to_invoke_stub?
1.3.1 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::Proxy
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
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