diff --git a/src/ng/sce.js b/src/ng/sce.js index 43c3854ad058..3b1e8ae72802 100644 --- a/src/ng/sce.js +++ b/src/ng/sce.js @@ -623,7 +623,7 @@ function $SceDelegateProvider() { * * describe('SCE doc demo', function() { * it('should sanitize untrusted values', function() { - * expect(element(by.css('.htmlComment')).getInnerHtml()) + * expect(element.all(by.css('.htmlComment')).first().getInnerHtml()) * .toBe('Is anyone reading this?'); * }); *