X Tutup
Skip to content

Commit dfba8fb

Browse files
committed
fixing broken angular-mocks.js
1 parent a0af13f commit dfba8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-mocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function MockBrowser() {
111111
throw new Error("Unexpected request for method '" + method + "' and url '" + url + "'.");
112112
}
113113
requests.push(function(){
114-
forEach(expectation.headers, function(value, key){
114+
angular.forEach(expectation.headers, function(value, key){
115115
if (headers[key] !== value) {
116116
throw new Error("Missing HTTP request header: " + key + ": " + value);
117117
}

0 commit comments

Comments
 (0)
X Tutup