Strain name markup

This commit is contained in:
Matthew Dillon 2015-06-11 14:05:13 -08:00
parent e4f01246c2
commit f7c39a50f3
9 changed files with 35 additions and 6 deletions

View file

@ -0,0 +1,19 @@
import { moduleForComponent, test } from 'ember-qunit';
moduleForComponent('strain-name', 'Unit | Component | strain name', {
// Specify the other units that are required for this test
// needs: ['component:foo', 'helper:bar'],
unit: true
});
test('it renders', function(assert) {
assert.expect(2);
// Creates the component instance
var component = this.subject();
assert.equal(component._state, 'preRender');
// Renders the component to the page
this.render();
assert.equal(component._state, 'inDOM');
});