File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
tests/integration/components Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -7,20 +7,17 @@ module('Integration | Component | es-pagination', function (hooks) {
7
7
setupRenderingTest ( hooks ) ;
8
8
9
9
test ( 'it renders' , async function ( assert ) {
10
- // Set any properties with this.set('myProperty', 'value');
11
- // Handle any actions with this.set('myAction', function(val) { ... });
12
-
13
- await render ( hbs `<EsPagination />` ) ;
14
-
15
- assert . dom ( this . element ) . hasText ( '' ) ;
16
-
17
- // Template block usage:
18
10
await render ( hbs `
19
- <EsPagination>
20
- template block text
21
- </EsPagination>
11
+ <EsPagination>
12
+ <:previous>
13
+ Newer articles
14
+ </:previous>
15
+ <:next>
16
+ Older articles
17
+ </:next>
18
+ </EsPagination>
22
19
` ) ;
23
20
24
- assert . dom ( this . element ) . hasText ( 'template block text ' ) ;
21
+ assert . dom ( this . element ) . hasText ( 'Newer articles Older articles ' ) ;
25
22
} ) ;
26
23
} ) ;
You can’t perform that action at this time.
0 commit comments