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) {
77 setupRenderingTest ( hooks ) ;
88
99 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:
1810 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>
2219 ` ) ;
2320
24- assert . dom ( this . element ) . hasText ( 'template block text ' ) ;
21+ assert . dom ( this . element ) . hasText ( 'Newer articles Older articles ' ) ;
2522 } ) ;
2623} ) ;
You can’t perform that action at this time.
0 commit comments