Exception: MockSuey::MockContract::NoMethodCalls
- Defined in:
- lib/mock_suey/mock_contract.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(contract) ⇒ NoMethodCalls
constructor
A new instance of NoMethodCalls.
Constructor Details
#initialize(contract) ⇒ NoMethodCalls
Returns a new instance of NoMethodCalls.
31 32 33 34 35 36 37 |
# File 'lib/mock_suey/mock_contract.rb', line 31 def initialize(contract) super( contract, "Mock contract verification failed:\n" \ " No method calls captured for #{contract.method_desc}" ) end |