File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
dummy/app/templates/docs/components Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
{{#docs-demo as |demo|}}
4
4
{{#demo.example name='es-note'}}
5
- {{#es-note}}
5
+ < EsNote >
6
6
This is a note
7
- {{/es-note}}
7
+ </ EsNote >
8
8
{{/demo.example}}
9
9
{{demo.snippet 'es-note'}}
10
10
{{/docs-demo}}
11
11
12
12
{{#docs-demo as |demo|}}
13
13
{{#demo.example name='es-note-blank'}}
14
- {{es-note}}
14
+ < EsNote />
15
15
{{/demo.example}}
16
16
{{demo.snippet 'es-note-blank'}}
17
17
{{/docs-demo}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module('Integration | Component | es note', function(hooks){
10
10
test ( 'it renders' , async function ( assert ) {
11
11
const testHeading = 'Tomster says... Zoey says...' ;
12
12
13
- await render ( hbs `{{es-note}} ` ) ;
13
+ await render ( hbs `<EsNote /> ` ) ;
14
14
15
15
assert . ok (
16
16
testHeading . includes ( find ( '.cta-note-heading' ) . textContent . trim ( ) ) ,
@@ -19,9 +19,9 @@ module('Integration | Component | es note', function(hooks){
19
19
assert . dom ( '.cta-note-message' ) . hasText ( 'Hello!!! No message provided.' ) ;
20
20
21
21
await render ( hbs `
22
- {{#es-note}}
22
+ <EsNote>
23
23
template block text
24
- {{/es-note}}
24
+ </EsNote>
25
25
` ) ;
26
26
27
27
assert . ok (
@@ -46,7 +46,7 @@ module('Integration | Component | es note', function(hooks){
46
46
for ( let i = 0 ; i < 10 ; i ++ ) {
47
47
let name ;
48
48
49
- await render ( hbs `{{es-note mascots=mascots}}` ) ;
49
+ await render ( hbs `<EsNote @ mascots={{ mascots}} /> ` ) ;
50
50
name = find ( '.cta-note-heading' ) . textContent . trim ( ) . split ( ' ' ) [ 0 ] ;
51
51
52
52
renderedNames . push ( name ) ;
You can’t perform that action at this time.
0 commit comments