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

Already on GitHub? Sign in to your account

Make baseName param in createSpyObj optional #321

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

lennym commented Jan 24, 2013

The name parameter in jasmine.createSpy is optional and defaults to 'unknown' if not provided.

I have extended jasmine.createSpyObj so that the first parameter is optional and if called with only an array of method names then the base name defaults to 'unknown' as per jasmine.createSpy.

Contributor

infews commented May 29, 2013

I've added this story so you can track this.
Thanks for the pull request.

Owner

slackersoft commented Oct 2, 2013

We'll look at this after 2.0

@slackersoft slackersoft closed this Oct 2, 2013

@slackersoft slackersoft pushed a commit that referenced this pull request Jan 12, 2015

Gregg Van Hove Allow `createSpyObj` to be called with just an array of method names
[Finish #50757607] #321
3140d5f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment