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
and know that #matches? will get called at the end. Take a look at the way RR does post-call matching in test/unit; it's very similar, for very similar reasons.
Maybe we could do something like:
assert_received(subject.some_method)
using some kind of cleverness, but honestly I haven't spent long enough thinking about it because I haven't had the need.
Can we do anything better with the has_received? method?
The text was updated successfully, but these errors were encountered: