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
It would be easy to add a support for this for stubbing/mocking, but marrying it with contracts is definitely non-trivial.
I'll have to figure out how to record the values yielded by a method. If it turns out to be impossible (and I think that considering all the border cases with instance_exec and such it might be), then we'll have to decide if it's worth having a feature that does not integrate well with the rest of the library.
Currently bogus does not support stubbing method to yield given block as in RR or rspec-mocks.
The text was updated successfully, but these errors were encountered: