Shaun Chyxion 1eaa603d00 update
2017-06-15 22:44:37 +08:00

25 lines
635 B
JavaScript

import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('nav-list', 'Integration | Component | nav list', {
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`{{nav-list}}`);
assert.equal(this.$().text().trim(), '');
// Template block usage:
this.render(hbs`
{{#nav-list}}
template block text
{{/nav-list}}
`);
assert.equal(this.$().text().trim(), 'template block text');
});