Measurement row component

This commit is contained in:
Matthew Dillon 2015-03-19 10:02:42 -08:00
parent ced405cd03
commit c68f0a0fee
5 changed files with 55 additions and 17 deletions

View file

@ -0,0 +1,21 @@
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('measurements/measurement-row', {
// 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');
});