aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgor Minar2013-11-22 00:52:57 -0800
committerIgor Minar2013-11-22 00:52:57 -0800
commit84c408ce63859e81fb4e900683edcc0cb8188890 (patch)
tree2abaa71d3a8159f8037d0826b9fbcc46c245c123 /test
parent40647b179c473f3f470bb1b3237d6f006269582f (diff)
downloadangular.js-84c408ce63859e81fb4e900683edcc0cb8188890.tar.bz2
test($compile): correct the assertion to make test pass on IE11
Diffstat (limited to 'test')
-rwxr-xr-xtest/ng/compileSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index 99be8afc..80788b02 100755
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -4297,7 +4297,7 @@ describe('$compile', function() {
element = $compile('<iframe srcdoc="{{html}}"></iframe>')($rootScope);
$rootScope.html = $sce.trustAsHtml('<div onclick="">hello</div>');
$rootScope.$digest();
- expect(angular.lowercase(element[0].srcdoc)).toEqual('<div onclick="">hello</div>');
+ expect(angular.lowercase(element.attr('srcdoc'))).toEqual('<div onclick="">hello</div>');
}));
});
}