diff options
| author | Igor Minar | 2011-03-03 09:52:35 -0800 |
|---|---|---|
| committer | Igor Minar | 2011-03-03 13:50:12 -0800 |
| commit | 5bf7ff5a3e7498cb43f1e18a6da32633162ff787 (patch) | |
| tree | 58f94aea30ac0523fac8601ad93d97bf4e528aad /src/widgets.js | |
| parent | a01aa7055c94ad510b580f45222a48a8b9b24105 (diff) | |
| download | angular.js-5bf7ff5a3e7498cb43f1e18a6da32633162ff787.tar.bz2 | |
fixing broken e2e tests
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets.js b/src/widgets.js index fe808740..91b0fcf2 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -625,15 +625,15 @@ angularWidget('option', function(){ </doc:source> <doc:scenario> it('should load date filter', function(){ - expect(element('.doc-example ng\\:include').text()).toMatch(/angular\.filter\.date/); + expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.date/); }); it('should change to hmtl filter', function(){ select('url').option('angular.filter.html.html'); - expect(element('.doc-example ng\\:include').text()).toMatch(/angular\.filter\.html/); + expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.html/); }); it('should change to blank', function(){ - select('url').option('(blank)'); - expect(element('.doc-example ng\\:include').text()).toEqual(''); + select('url').option(''); + expect(element('.doc-example-live ng\\:include').text()).toEqual(''); }); </doc:scenario> </doc:example> @@ -729,15 +729,15 @@ angularWidget('ng:include', function(element){ </doc:source> <doc:scenario> it('should start in settings', function(){ - expect(element('.doc-example ng\\:switch').text()).toEqual('Settings Div'); + expect(element('.doc-example-live ng\\:switch').text()).toEqual('Settings Div'); }); it('should change to home', function(){ select('switch').option('home'); - expect(element('.doc-example ng\\:switch').text()).toEqual('Home Span'); + expect(element('.doc-example-live ng\\:switch').text()).toEqual('Home Span'); }); it('should select deafault', function(){ select('switch').option('other'); - expect(element('.doc-example ng\\:switch').text()).toEqual('default'); + expect(element('.doc-example-live ng\\:switch').text()).toEqual('default'); }); </doc:scenario> </doc:example> |
