diff options
Diffstat (limited to 'test/service/xhr.errorSpec.js')
| -rw-r--r-- | test/service/xhr.errorSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service/xhr.errorSpec.js b/test/service/xhr.errorSpec.js index da1b102e..bd9f7a92 100644 --- a/test/service/xhr.errorSpec.js +++ b/test/service/xhr.errorSpec.js @@ -29,7 +29,7 @@ describe('$xhr.error', function() { $browserXhr.flush(); var cb = $xhrError.mostRecentCall.args[0].callback; expect(typeof cb).toEqual($function); - expect($xhrError).wasCalledWith( + expect($xhrError).toHaveBeenCalledWith( {url:'/req', method:'POST', data:'MyData', callback:cb}, {status:500, body:'MyError'}); }); |
