From e78405f6ed82fcd2e9a1cdffb7f1103d52752623 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 21 Apr 2010 12:50:05 -0700 Subject: more if tests pass --- test/markupSpec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/markupSpec.js') diff --git a/test/markupSpec.js b/test/markupSpec.js index a1112490..cfc0f899 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -43,13 +43,14 @@ describe("markups", function(){ }); it('should populate value attribute on OPTION', function(){ - compile(''); - expect(element.html()).toEqual(''); + compile(''); + expect(sortedHtml(element)).toEqual(''); }); it('should process all bindings when we have leading space', function(){ compile(' {{a}}
{{b}}
'); - expect(sortedHtml(scope.$element)).toEqual('

'); + var space = msie ? '' + NBSP + '': ' '; + expect(sortedHtml(scope.$element)).toEqual('' + space + '

'); }); }); -- cgit v1.2.3