Fixed typo in example code.
This commit is contained in:
parent
c187adc096
commit
40272cd563
|
@ -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