Skip to content

Commit cdb8e20

Browse files
committed
Update fixtures to match new expectations
1 parent d5768b3 commit cdb8e20

5 files changed

Lines changed: 16 additions & 9 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Controller from '@ember/controller';
2+
import { action } from '@ember/object';
23

34
export default class ApplicationController extends Controller {
4-
addModal() {}
5+
@action addModal() {}
56
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<div>this template has no js </div>
2-
{{#bs-button type="primary"}}>Primary{{/bs-button}}
2+
{{#bs-button type="primary"}}Primary{{/bs-button}}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import Controller from '@ember/controller';
2+
import { action } from '@ember/object';
3+
4+
export default class ApplicationController extends Controller {
5+
@action addModal() {}
6+
}

test/fixtures/with-telemetry/output/app/templates/application.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
</BsNav>
1515
</div>
1616
<div class="col-sm-8 col-sm-pull-4 col-md-9 col-md-pull-3">
17-
{{utils/bee-bop}}
18-
{{-wat-wat}}
19-
{{utils/-wat-wat}}
17+
{{(utils/bee-bop)}}
18+
{{(-wat-wat)}}
19+
{{(utils/-wat-wat)}}
2020
{{#if this.isDetailPage}}
2121
<h1>
2222
{{currentComponent.title}}
2323
</h1>
2424
<p class="lead">
2525
{{currentComponent.description}}
2626
</p>
27-
{{api-reference component=this.currentComponent}}
27+
<ApiReference @component={{this.currentComponent}} />
2828
{{/if}}
2929
{{outlet}}
3030

31-
<BsButton @id="openModal" @onClick={{action "addModal"}}>Open</BsButton>
31+
<BsButton @id="openModal" @onClick={{action this.addModal}}>Open</BsButton>
3232

3333
{{#if hasModal}}
3434
<BsModalSimple @open={{modal}} @onHidden={{action "removeModal"}} @title="Dynamic Dialog">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<button>
2-
{{titleize "string helpers for ember"}}
2+
{{(titleize "string helpers for ember")}}
33
</button>
4-
{{biz-baz canConvert="no" why="helper" where="local"}}
4+
{{(biz-baz canConvert="no" why="helper" where="local")}}

0 commit comments

Comments
 (0)