Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2314 from itzsaga/patch-1
Browse files Browse the repository at this point in the history
Corrected continuity of test names
  • Loading branch information
locks authored Apr 17, 2018
2 parents f017da6 + a734a60 commit 223f162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/tutorial/routes-and-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,13 @@ import {
Now let's add code that simulates a visitor arriving on our homepage, clicking one of our links and then visiting a new page.

```/tests/acceptance/list-rentals-test.js{+2,+3,+4,+8,+9,+10}
test('should link to about page', async function(assert) {
test('should link to information about the company', async function(assert) {
await visit('/');
await click(".menu-about");
assert.equal(currentURL(), '/about', 'should navigate to about');
});
test('should link to contacts page', async function(assert) {
test('should link to contact information', async function(assert) {
await visit('/');
await click(".menu-contact");
assert.equal(currentURL(), '/contact', 'should navigate to contact');
Expand Down

0 comments on commit 223f162

Please sign in to comment.