fix failing autobind test on IE

This commit is contained in:
Igor Minar 2011-03-11 09:30:53 -08:00
parent 9d5c533791
commit d304b0c3df

View file

@ -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>' +