Fixed typo in example code.

This commit is contained in:
DanielHeath 2010-06-07 11:53:32 +08:00 committed by Christian Williams
parent c187adc096
commit 40272cd563
1 changed files with 1 additions and 1 deletions

View File

@ -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');
});