Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make calledWith match any call, not just the most recent #36

Merged

Conversation

jessepinho
Copy link
Contributor

Previously, bond().calledWith(args...) only matched the most recent call to the spy. Now, it matches any call. Not sure if this is desired behavior, so wanted to get your thoughts. (I could also make it another method if you want to keep the calledWith API the same—something like everCalledWith().)

@EndangeredMassa
Copy link
Owner

Nice fix. Thanks!

EndangeredMassa added a commit that referenced this pull request Jul 7, 2015
Make calledWith match any call, not just the most recent
@EndangeredMassa EndangeredMassa merged commit c9a958f into EndangeredMassa:master Jul 7, 2015
@EndangeredMassa
Copy link
Owner

published in 1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants