aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/xhr.cacheSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/service/xhr.cacheSpec.js')
-rw-r--r--test/service/xhr.cacheSpec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/service/xhr.cacheSpec.js b/test/service/xhr.cacheSpec.js
index 0a0140a6..ecaebc3f 100644
--- a/test/service/xhr.cacheSpec.js
+++ b/test/service/xhr.cacheSpec.js
@@ -128,17 +128,17 @@ describe('$xhr.cache', function() {
$browserXhr.expectGET('/url').respond('+');
cache('GET', '/url', null, callback);
- expect(eval).wasNotCalled();
+ expect(eval).not.toHaveBeenCalled();
$browserXhr.flush();
- expect(eval).wasCalled();
+ expect(eval).toHaveBeenCalled();
eval.reset(); //reset the spy
cache('GET', '/url', null, callback);
- expect(eval).wasNotCalled();
+ expect(eval).not.toHaveBeenCalled();
$browser.defer.flush();
- expect(eval).wasCalled();
+ expect(eval).toHaveBeenCalled();
});
});