Class: Muack::Spy
Instance Attribute Summary
Attributes inherited from Mock
Instance Method Summary collapse
-
#__mock_reset ⇒ Object
used for Muack::Session#reset, but spies never leave any track.
-
#__mock_verify ⇒ Object
used for Muack::Session#verify.
-
#initialize(stub) ⇒ Spy
constructor
A new instance of Spy.
Methods inherited from Mock
#__mock_class, #__mock_defis_pop, #__mock_defis_push, #__mock_dispatch, #__mock_dispatch_call, #inspect, #method_missing
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Muack::Mock
Instance Method Details
#__mock_reset ⇒ Object
used for Muack::Session#reset, but spies never leave any track
18 |
# File 'lib/muack/spy.rb', line 18 def __mock_reset; end |
#__mock_verify ⇒ Object
used for Muack::Session#verify
12 13 14 15 |
# File 'lib/muack/spy.rb', line 12 def __mock_verify __mock_dispatch_spy super end |