aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/AngularSpec.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index f5556f7c..f585ffb7 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -396,6 +396,9 @@ describe('angular', function(){
}
angularInit({autobind: 'child'}, dom);
+
+ delete dom.getElementById; //make IE and sortedHtml happy
+
expect(sortedHtml(dom)).toEqual('<div foo="{{1+2}}">{{2+3}}' +
'<div bar="7" id="child" ng:bind-attr="{"bar":"{{3+4}}"}">'+
'<span ng:bind="4+5">9</span>' +