Skip to content

Commit

Permalink
Merge pull request emberjs#2285 from maartenparmentier/patch-1
Browse files Browse the repository at this point in the history
Update older 'moduleFor' comment in 'testing routes'
  • Loading branch information
locks authored Mar 14, 2018
2 parents c9bedd4 + 983d9b3 commit 34fa393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/testing/testing-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module('Unit | Route | application', function(hooks) {
test('should display an alert', function(assert) {
assert.expect(2);

// with moduleFor, the subject returns an instance of the route
// get the route instance
let route = this.owner.lookup('route:application');

// stub window.alert to perform a qunit test
Expand Down

0 comments on commit 34fa393

Please sign in to comment.