Merge branch 'master' of git@github.com:pivotal/jasmine into HEAD
This commit is contained in:
commit
b9bf42c6b5
|
@ -309,7 +309,7 @@ Here are a few examples:
|
|||
|
||||
it('should spy on Klass#methodWithCallback') {
|
||||
var callback = Jasmine.createSpy();
|
||||
Klass.method(callback);
|
||||
Klass.methodWithCallback(callback);
|
||||
|
||||
expect(callback).wasCalledWith('foo');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue