Skip to content

Commit

Permalink
test($compile): correct the assertion to make test pass on IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar authored and jamesdaily committed Jan 27, 2014
1 parent 5c127a0 commit 348377e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ng/compileSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>');
}));
});
}
Expand Down

0 comments on commit 348377e

Please sign in to comment.