fixing broken angular-mocks.js

This commit is contained in:
Igor Minar 2011-03-15 16:13:11 -07:00
parent a0af13f672
commit dfba8fb2e7

View file

@ -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);
}