From d304b0c3df41b3b1e67c2b9d56c02dc95194512d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 11 Mar 2011 09:30:53 -0800 Subject: fix failing autobind test on IE --- test/AngularSpec.js | 3 +++ 1 file changed, 3 insertions(+) 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('
{{2+3}}' + '
'+ '9' + -- cgit v1.2.3