diff --git a/README.markdown b/README.markdown index a7a75cc..4590a82 100644 --- a/README.markdown +++ b/README.markdown @@ -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'); });