aboutsummaryrefslogtreecommitdiffstats
path: root/test/ResourceSpec.js
diff options
context:
space:
mode:
authorVojta Jina2011-10-31 20:34:03 -0700
committerIgor Minar2011-11-30 11:17:23 -0500
commitafbe073121f13a23dc33a1d958c0a964029dc6ee (patch)
tree471cdface7115d066f3a0e6a6397bd24912a6cc8 /test/ResourceSpec.js
parent7b705df2b77bbd5e112b976a7a9630327aa77aca (diff)
downloadangular.js-afbe073121f13a23dc33a1d958c0a964029dc6ee.tar.bz2
feat(mock.$httpBackend): add verifyNoOutstandingRequest method
+ rename verifyExpectations to verifyNoOutstandingExpectation
Diffstat (limited to 'test/ResourceSpec.js')
-rw-r--r--test/ResourceSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ResourceSpec.js b/test/ResourceSpec.js
index 5d91bf3e..eb458c2d 100644
--- a/test/ResourceSpec.js
+++ b/test/ResourceSpec.js
@@ -20,7 +20,7 @@ describe("resource", function() {
);
afterEach(inject(function($httpBackend) {
- $httpBackend.verifyExpectations();
+ $httpBackend.verifyNoOutstandingExpectation();
}));
it("should build resource", function() {