From 29abe53924de336ab8c0df677df23adf06c9c2a3 Mon Sep 17 00:00:00 2001 From: davidxi Date: Wed, 12 Mar 2014 14:39:14 -0400 Subject: [PATCH] Update jasmine-support.js fix typo in multiple error messages. --- vendor/jasmine/jasmine-support.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/jasmine/jasmine-support.js b/vendor/jasmine/jasmine-support.js index 630d86651f..6ac8069574 100644 --- a/vendor/jasmine/jasmine-support.js +++ b/vendor/jasmine/jasmine-support.js @@ -13,7 +13,7 @@ jasmine.getEnv().beforeEach(function() { lastCalledWith: function() { if (this.actual.mock === undefined) { - throw Error('toBeCalled() should be used on a mock function'); + throw Error('lastCalledWith() should be used on a mock function'); } var calls = this.actual.mock.calls; var args = Array.prototype.slice.call(arguments); @@ -22,7 +22,7 @@ jasmine.getEnv().beforeEach(function() { toBeCalledWith: function() { if (this.actual.mock === undefined) { - throw Error('toBeCalled() should be used on a mock function'); + throw Error('toBeCalledWith() should be used on a mock function'); } var args = Array.prototype.slice.call(arguments); return this.actual.mock.calls.some(function(call) {