Skip to content

Commit e185b81

Browse files
committed
fix deprecations in tests
1 parent ff214f5 commit e185b81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ember-cli-fastboot/tests/dummy/app/templates/application.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
{{outlet}}
66

77
<div class="shoebox">
8-
{{model.key1.foo}}
9-
{{model.key2.zip}}
8+
{{this.model.key1.foo}}
9+
{{this.model.key2.zip}}
1010
</div>

packages/ember-cli-fastboot/tests/integration/instance-initializers/clear-double-boot-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module('Instance-initializer: clear-double-boot', function(hooks) {
2929
`);
3030

3131
// render the whole tree dynamically to more closely mimc bad markup cases
32-
await render(hbs`{{{BAD_HTML}}}`);
32+
await render(hbs`{{{this.BAD_HTML}}}`);
3333

3434
clearHtml();
3535
assert.notOk(this.element.querySelector('#fastboot-body-start'), 'There is no start marker');
@@ -41,7 +41,7 @@ module('Instance-initializer: clear-double-boot', function(hooks) {
4141
this.set('BAD_HTML', `<script type="x/boundary" id="fastboot-body-start"></script>`);
4242

4343
// render the whole tree dynamically to more closely mimc bad markup cases
44-
await render(hbs`{{{BAD_HTML}}}`);
44+
await render(hbs`{{{this.BAD_HTML}}}`);
4545

4646
clearHtml();
4747

0 commit comments

Comments
 (0)