Fixed typo in example code.
This commit is contained in:
committed by
Christian Williams
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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user