mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
docs(ngMock): grammar fix
Small grammar fix for mock $httpBackend documentation.
This commit is contained in:
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
@@ -894,7 +894,7 @@ angular.mock.dump = function(object) {
|
||||
* When an Angular application needs some data from a server, it calls the $http service, which
|
||||
* sends the request to a real server using $httpBackend service. With dependency injection, it is
|
||||
* easy to inject $httpBackend mock (which has the same API as $httpBackend) and use it to verify
|
||||
* the requests and respond with some testing data without sending a request to real server.
|
||||
* the requests and respond with some testing data without sending a request to a real server.
|
||||
*
|
||||
* There are two ways to specify what test data should be returned as http responses by the mock
|
||||
* backend when the code under test makes http requests:
|
||||
|
||||
Reference in New Issue
Block a user