diff options
| author | Julie | 2014-01-11 16:59:15 -0800 | 
|---|---|---|
| committer | Caitlin Potter | 2014-01-28 14:14:20 -0500 | 
| commit | 7aef2d54e0a48fae18a289813f699962d8310565 (patch) | |
| tree | 60d1d559510c17e879aff798f298e6bcc262d3ab /src/ng/interpolate.js | |
| parent | ce37ae28687167f7b4274ba547f013980126a219 (diff) | |
| download | angular.js-7aef2d54e0a48fae18a289813f699962d8310565.tar.bz2 | |
test(docs): convert example end to end doc tests from scenario runner to protractor
Thanks to jeffbcross, petebacondarwin, btford, jdeboer, tbosch for contributions!
Closes #6023
Diffstat (limited to 'src/ng/interpolate.js')
| -rw-r--r-- | src/ng/interpolate.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/ng/interpolate.js b/src/ng/interpolate.js index b78f44a4..1a7e50ad 100644 --- a/src/ng/interpolate.js +++ b/src/ng/interpolate.js @@ -31,11 +31,11 @@ var $interpolateMinErr = minErr('$interpolate');      //demo.label//  </div>  </doc:source> -<doc:scenario> - it('should interpolate binding with custom symbols', function() { -  expect(binding('demo.label')).toBe('This binding is brought you by // interpolation symbols.'); - }); -</doc:scenario> +<doc:protractor> +  it('should interpolate binding with custom symbols', function() { +    expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.'); +  }); +</doc:protractor>  </doc:example>   */  function $InterpolateProvider() { | 
