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
My initial thought is that the chained but_otherwise_stubs method goes a bit against the grain of the internal model, because it would need to create a separate Expectation instance rather than just modifying the one from foo.expects(:bar). However, I'm pretty sure it would be possible to implement.
My other concern is whether this is a common enough scenario to make having a shortcut worthwhile. Nobody else has asked for anything similar in over 10 years!
See #487 (comment) by @Bennet-Sunder. Maybe something like this:
The text was updated successfully, but these errors were encountered: