Skip to content

Commit

Permalink
Any difference with @model
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jul 19, 2024
1 parent 28f92ca commit e4c9565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/tests/unit/setup-application-context-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module('setupApplicationContext', function (hooks) {
'template:index': hbs`<h1>Hello World!</h1>`,
'template:links-to-slow': hbs`<LinkTo @route="slow" class="to-slow">to slow</LinkTo>`,
'template:posts': hbs`<h1>Posts Page</h1>{{outlet}}`,
'template:posts/post': hbs`<div class="post-id">{{this.model.post_id}}</div>`,
'template:posts/post': hbs`<div class="post-id">{{@model.post_id}}</div>`,
'service:foo': Service.extend({ isFoo: true }),
'route:posts/post': Route.extend({
model(params) {
Expand Down Expand Up @@ -78,7 +78,7 @@ module('setupApplicationContext', function (hooks) {
{{outlet}}
`,
'template:links-to-slow': hbs`{{#link-to "slow" class="to-slow"}}to slow{{/link-to}}`,
'template:posts/post': hbs`<div class="post-id">{{this.model.post_id}}</div>`,
'template:posts/post': hbs`<div class="post-id">{{@model.post_id}}</div>`,
};
}

Expand Down

0 comments on commit e4c9565

Please sign in to comment.