aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/xhr.bulkSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/service/xhr.bulkSpec.js')
-rw-r--r--test/service/xhr.bulkSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service/xhr.bulkSpec.js b/test/service/xhr.bulkSpec.js
index 01e0a365..e35673c7 100644
--- a/test/service/xhr.bulkSpec.js
+++ b/test/service/xhr.bulkSpec.js
@@ -62,7 +62,7 @@ describe('$xhr.bulk', function() {
expect($xhrError).toHaveBeenCalled();
var cb = $xhrError.mostRecentCall.args[0].success;
- expect(typeof cb).toEqual($function);
+ expect(typeof cb).toEqual('function');
expect($xhrError).toHaveBeenCalledWith(
{url: '/req1', method: 'GET', data: null, success: cb},
{status: 404, response: 'NotFound'});