Merge branch 'master' of git@github.com:pivotal/jasmine into HEAD

This commit is contained in:
Lee Byrd & Christian Williams 2010-06-22 10:43:48 -07:00
commit b9bf42c6b5

View File

@ -309,7 +309,7 @@ Here are a few examples:
it('should spy on Klass#methodWithCallback') { it('should spy on Klass#methodWithCallback') {
var callback = Jasmine.createSpy(); var callback = Jasmine.createSpy();
Klass.method(callback); Klass.methodWithCallback(callback);
expect(callback).wasCalledWith('foo'); expect(callback).wasCalledWith('foo');
}); });