Dropping ember-can

This commit is contained in:
Matthew Dillon 2015-06-05 09:36:51 -08:00
parent 3501dc1986
commit 53be80d617
13 changed files with 57 additions and 75 deletions

View file

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