docs(ngMock): grammar fix
Small grammar fix for mock $httpBackend documentation.
This commit is contained in:
Vendored
+1
-1
@@ -893,7 +893,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