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

Allow a fake default empty function for SpyStrategy.callFake() #925

Closed
wants to merge 1 commit into from
Closed

Allow a fake default empty function for SpyStrategy.callFake() #925

wants to merge 1 commit into from

Conversation

verheyenkoen
Copy link

This change allows you to use the callFake spy strategy parameterless. A default empty function (which is also the default spy strategy) is used instead.

@slackersoft
Copy link
Member

For this functionality, what you want to use is stub

@verheyenkoen
Copy link
Author

Damn, totally missed that.

@verheyenkoen verheyenkoen deleted the spystrategy-callfake-default-parameter-empty-function branch September 17, 2015 18:05
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.

None yet

2 participants