Skip to content

Commit b52443b

Browse files
committed
Update test
1 parent 7fdf4bc commit b52443b

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

tests/integration/components/es-pagination-test.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)