From aa64d37a23d743d325b9d95cd4725042cca430db Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 31 May 2011 21:28:42 +0200 Subject: Fix unit test in IE7 --- test/AngularSpec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/AngularSpec.js') diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 444b9448..b58705cc 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -454,9 +454,8 @@ describe('angular', function(){ return this.childNodes[1]; }; - angularInit({autobind: 'child'}, dom); - delete dom.getElementById; //make IE and sortedHtml happy + angularInit({autobind: 'child'}, dom); expect(sortedHtml(dom)).toEqual('