diff options
Diffstat (limited to 'test/servicesSpec.js')
| -rw-r--r-- | test/servicesSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/servicesSpec.js b/test/servicesSpec.js index 45993490..c2c13461 100644 --- a/test/servicesSpec.js +++ b/test/servicesSpec.js @@ -288,7 +288,7 @@ describe("service", function(){ expect(typeof cb).toEqual('function'); expect($xhrError).wasCalledWith( {url:'/req1', method:'GET', data:null, callback:cb}, - {status:404, body:'NotFound'}); + {status:404, response:'NotFound'}); expect(log).toEqual('"second";DONE'); }); |
