From dfba8fb2e7f3d3fb78fffa6a11f6fd93a7845391 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 15 Mar 2011 16:13:11 -0700 Subject: fixing broken angular-mocks.js --- src/angular-mocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/angular-mocks.js') 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); } -- cgit v1.2.3