From afbe073121f13a23dc33a1d958c0a964029dc6ee Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Mon, 31 Oct 2011 20:34:03 -0700 Subject: feat(mock.$httpBackend): add verifyNoOutstandingRequest method + rename verifyExpectations to verifyNoOutstandingExpectation --- test/service/httpSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/service/httpSpec.js') diff --git a/test/service/httpSpec.js b/test/service/httpSpec.js index 12921992..72fd5f8e 100644 --- a/test/service/httpSpec.js +++ b/test/service/httpSpec.js @@ -19,7 +19,7 @@ describe('$http', function() { afterEach(function() { if ($exceptionHandler.errors.length) throw $exceptionHandler.errors; - $httpBackend.verifyExpectations(); + $httpBackend.verifyNoOutstandingExpectation(); }); -- cgit v1.2.3