Bake genus into config (prep for clostridium)

This commit is contained in:
Matthew Dillon 2015-04-09 09:35:32 -08:00
parent 4e1e6f2899
commit 472eb639bc
7 changed files with 34 additions and 5 deletions

View file

@ -0,0 +1,21 @@
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('genus-name', {
// Specify the other units that are required for this test
// needs: ['component:foo', 'helper:bar']
});
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');
});