diff options
| author | Elliott Sprehn | 2010-10-29 16:02:57 -0700 |
|---|---|---|
| committer | Elliott Sprehn | 2010-11-01 15:21:37 -0700 |
| commit | 6bb2cd6ee2a35768ac4422395596daf1438e62ff (patch) | |
| tree | 86c52c03c886116176b8df9afa482fb886538963 /example/personalLog/scenario/personalLogScenario.js | |
| parent | 2d61040fb085f5d3a226d39726e105c1e6bd7006 (diff) | |
| download | angular.js-6bb2cd6ee2a35768ac4422395596daf1438e62ff.tar.bz2 | |
Provide browser DSL with location() to expect the iframe URL parts. Also move navigateTo() under the browser DSL.
Diffstat (limited to 'example/personalLog/scenario/personalLogScenario.js')
| -rw-r--r-- | example/personalLog/scenario/personalLogScenario.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/personalLog/scenario/personalLogScenario.js b/example/personalLog/scenario/personalLogScenario.js index 3679a33c..09ceae28 100644 --- a/example/personalLog/scenario/personalLogScenario.js +++ b/example/personalLog/scenario/personalLogScenario.js @@ -1,7 +1,7 @@ describe('personal log', function() { beforeEach(function() { - navigateTo('../personalLog.html'); + browser().navigateTo('../personalLog.html'); }); @@ -64,8 +64,8 @@ describe('personal log', function() { element('form input[type="submit"]').click(); expect(repeater('ul li').count()).toEqual(1); - navigateTo('about:blank'); - navigateTo('../personalLog.html'); + browser().navigateTo('about:blank'); + browser().navigateTo('../personalLog.html'); expect(repeater('ul li').column('log.msg')).toEqual('my persistent message'); expect(repeater('ul li').count()).toEqual(1); |
