You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spying base class with should_call counts calls to subclasses and instances of subclasses when a subclass has it's own spy set. I think here the functionality should be consistent with mocking. If the child has has it's own spy, then the spy in the base class, should not count calls to the child class.
Spying base class with
should_call
counts calls to subclasses and instances of subclasses when a subclass has it's own spy set. I think here the functionality should be consistent with mocking. If the child has has it's own spy, then the spy in the base class, should not count calls to the child class.Example code with
should_call
:Raises:
Similar test with
should_receive
passes:The text was updated successfully, but these errors were encountered: