aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-mocks.js
diff options
context:
space:
mode:
authorIgor Minar2011-03-15 16:13:11 -0700
committerIgor Minar2011-03-15 16:13:11 -0700
commitdfba8fb2e7f3d3fb78fffa6a11f6fd93a7845391 (patch)
tree0191c14e40786c92e33685727abffd72793c9e5b /src/angular-mocks.js
parenta0af13f672a3cf5410178d5afc462903ba13726e (diff)
downloadangular.js-dfba8fb2e7f3d3fb78fffa6a11f6fd93a7845391.tar.bz2
fixing broken angular-mocks.js
Diffstat (limited to 'src/angular-mocks.js')
-rw-r--r--src/angular-mocks.js2
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);
}