This commit is contained in:
Matthew Ryan Dillon 2017-09-13 06:20:34 -07:00
parent 8309486a8a
commit 825b5b0d89
8 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,25 @@
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('ccdb-pagination', 'Integration | Component | ccdb pagination', {
integration: true
});
test('it renders', function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.on('myAction', function(val) { ... });
this.render(hbs`{{ccdb-pagination}}`);
assert.equal(this.$().text().trim(), '');
// Template block usage:
this.render(hbs`
{{#ccdb-pagination}}
template block text
{{/ccdb-pagination}}
`);
assert.equal(this.$().text().trim(), 'template block text');
});

View file

@ -0,0 +1,25 @@
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('filter-collections', 'Integration | Component | filter collections', {
integration: true
});
test('it renders', function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.on('myAction', function(val) { ... });
this.render(hbs`{{filter-collections}}`);
assert.equal(this.$().text().trim(), '');
// Template block usage:
this.render(hbs`
{{#filter-collections}}
template block text
{{/filter-collections}}
`);
assert.equal(this.$().text().trim(), 'template block text');
});