diff options
Diffstat (limited to 'src/angular-mocks.js')
| -rw-r--r-- | src/angular-mocks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/angular-mocks.js b/src/angular-mocks.js index 558e71e3..fc318064 100644 --- a/src/angular-mocks.js +++ b/src/angular-mocks.js @@ -111,7 +111,7 @@ function MockBrowser() { throw new Error("Unexpected request for method '" + method + "' and url '" + url + "'."); } requests.push(function(){ - forEach(expectation.headers, function(value, key){ + angular.forEach(expectation.headers, function(value, key){ if (headers[key] !== value) { throw new Error("Missing HTTP request header: " + key + ": " + value); } |
