aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorIgor Minar2011-03-11 09:30:53 -0800
committerIgor Minar2011-03-11 09:30:53 -0800
commitd304b0c3df41b3b1e67c2b9d56c02dc95194512d (patch)
tree418118eeeb0133fb2d4b02aaa7e206c39005c3c4 /test/AngularSpec.js
parent9d5c53379180a110e427a01a1446eada3f0fc3d6 (diff)
downloadangular.js-d304b0c3df41b3b1e67c2b9d56c02dc95194512d.tar.bz2
fix failing autobind test on IE
Diffstat (limited to 'test/AngularSpec.js')
-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>' +