mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
test($compile): correct the assertion to make test pass on IE11
This commit is contained in:
parent
40647b179c
commit
84c408ce63
1 changed files with 1 additions and 1 deletions
|
|
@ -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>');
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue