diff options
Diffstat (limited to 'src/ng/directive/ngEventDirs.js')
| -rw-r--r-- | src/ng/directive/ngEventDirs.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/ng/directive/ngEventDirs.js b/src/ng/directive/ngEventDirs.js index e45f5cb7..03da8bc4 100644 --- a/src/ng/directive/ngEventDirs.js +++ b/src/ng/directive/ngEventDirs.js @@ -20,13 +20,13 @@        </button>        count: {{count}}       </doc:source> -     <doc:scenario> +     <doc:protractor>         it('should check ng-click', function() { -         expect(binding('count')).toBe('0'); -         element('.doc-example-live :button').click(); -         expect(binding('count')).toBe('1'); +         expect(element(by.binding('count')).getText()).toMatch('0'); +         element(by.css('.doc-example-live button')).click(); +         expect(element(by.binding('count')).getText()).toMatch('1');         }); -     </doc:scenario> +     </doc:protractor>     </doc:example>   */  /* | 
