From 40272cd56319a0c440996a196e95d6a49a37448f Mon Sep 17 00:00:00 2001 From: DanielHeath Date: Mon, 7 Jun 2010 11:53:32 +0800 Subject: [PATCH] Fixed typo in example code. --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); });