diff options
| author | Igor Minar | 2012-01-06 19:17:31 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-09 13:17:48 -0800 |
| commit | b8960c3710f20a3c56ecc27f382b2500f6dc1e05 (patch) | |
| tree | 0352302c7e570e95699895eb4c27f046f4f313fb /src/angular-mocks.js | |
| parent | 67338ce06140f60fe08bf59f7eb6c9814743e907 (diff) | |
| download | angular.js-b8960c3710f20a3c56ecc27f382b2500f6dc1e05.tar.bz2 | |
chore($http): small $http fixes
Diffstat (limited to 'src/angular-mocks.js')
| -rw-r--r-- | src/angular-mocks.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/angular-mocks.js b/src/angular-mocks.js index db4175d1..4b462a87 100644 --- a/src/angular-mocks.js +++ b/src/angular-mocks.js @@ -115,7 +115,7 @@ angular.module.ngMock.$Browser = function() { * @description * Flushes all pending requests and executes the defer callbacks. * - * @param {number=} number of miliseconds to flush. See {@link #defer.now} + * @param {number=} number of milliseconds to flush. See {@link #defer.now} */ self.defer.flush = function(delay) { if (angular.isDefined(delay)) { @@ -629,7 +629,8 @@ angular.module.ngMock.$httpBackendDecorator = function($delegate, $defer) { if (!expectation.matchHeaders(headers)) throw Error('Expected ' + expectation + ' with different headers\n' + - 'EXPECTED: ' + prettyPrint(expectation.headers) + '\nGOT: ' + prettyPrint(headers)); + 'EXPECTED: ' + prettyPrint(expectation.headers) + '\nGOT: ' + + prettyPrint(headers)); expectations.shift(); |
