docs(tutorial/step-07): update path to pages in e2e scenarios

The url paths in the tutorial are not in line with the actual tutorial code

Closes #5264
This commit is contained in:
Jürgen Walter 2013-12-04 17:24:50 +01:00 committed by Pete Bacon Darwin
parent 9e538e7c31
commit cf2a7614a4

View file

@ -258,7 +258,7 @@ to various URLs and verify that the correct view was rendered.
<pre>
...
it('should redirect index.html to index.html#/phones', function() {
browser().navigateTo('../../app/index.html');
browser().navigateTo('app/index.html');
expect(browser().location().url()).toBe('/phones');
});
...
@ -266,7 +266,7 @@ to various URLs and verify that the correct view was rendered.
describe('Phone detail view', function() {
beforeEach(function() {
browser().navigateTo('../../app/index.html#/phones/nexus-s');
browser().navigateTo('app/index.html#/phones/nexus-s');
});