diff options
| author | Vojta Jina | 2011-05-31 21:28:42 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-06-02 08:55:10 -0700 |
| commit | aa64d37a23d743d325b9d95cd4725042cca430db (patch) | |
| tree | be490773ae0289cf3d6303ddf50fe4fc2ead57a1 /test/AngularSpec.js | |
| parent | 2e5199997c77cb2febed4ff21bc12a5d5fbad4ce (diff) | |
| download | angular.js-aa64d37a23d743d325b9d95cd4725042cca430db.tar.bz2 | |
Fix unit test in IE7
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 3 |
1 files changed, 1 insertions, 2 deletions
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('<div foo="{{1+2}}">{{2+3}}' + '<div bar="7" id="child" ng:bind-attr="{"bar":"{{3+4}}"}">'+ |
