mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 08:59:35 +08:00
docs(ngMock): correct verifyNoOutstandingExpectation example
This commit is contained in:
committed by
Pawel Kozlowski
parent
ead9cb7fb4
commit
8a3e3f9eb3
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
@@ -1318,7 +1318,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
|
||||
* "afterEach" clause.
|
||||
*
|
||||
* <pre>
|
||||
* afterEach($httpBackend.verifyExpectations);
|
||||
* afterEach($httpBackend.verifyNoOutstandingExpectation);
|
||||
* </pre>
|
||||
*/
|
||||
$httpBackend.verifyNoOutstandingExpectation = function() {
|
||||
|
||||
Reference in New Issue
Block a user