aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/xhrSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/service/xhrSpec.js')
-rw-r--r--test/service/xhrSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service/xhrSpec.js b/test/service/xhrSpec.js
index 39bc1c66..ebcd90d4 100644
--- a/test/service/xhrSpec.js
+++ b/test/service/xhrSpec.js
@@ -60,7 +60,7 @@ describe('$xhr', function() {
$xhr('GET', '/reqGET', null, function(){ throw "MyException"; });
$browserXhr.flush();
- expect($log.error).wasCalledWith("MyException");
+ expect($log.error).toHaveBeenCalledWith("MyException");
});