diff options
| author | Igor Minar | 2011-03-15 16:13:11 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-03-15 16:13:11 -0700 |
| commit | dfba8fb2e7f3d3fb78fffa6a11f6fd93a7845391 (patch) | |
| tree | 0191c14e40786c92e33685727abffd72793c9e5b | |
| parent | a0af13f672a3cf5410178d5afc462903ba13726e (diff) | |
| download | angular.js-dfba8fb2e7f3d3fb78fffa6a11f6fd93a7845391.tar.bz2 | |
fixing broken 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); } |
