mirror of https://github.com/rancher/ui.git
22 lines
498 B
JavaScript
22 lines
498 B
JavaScript
import {
|
|
moduleForComponent,
|
|
test
|
|
} from 'ember-qunit';
|
|
|
|
moduleForComponent('display-name-select', 'DisplayNameSelectComponent', {
|
|
// specify the other units that are required for this test
|
|
// needs: ['component:foo', 'helper:bar']
|
|
});
|
|
|
|
test('it renders', function() {
|
|
expect(2);
|
|
|
|
// creates the component instance
|
|
var component = this.subject();
|
|
equal(component._state, 'preRender');
|
|
|
|
// appends the component to the page
|
|
this.append();
|
|
equal(component._state, 'inDOM');
|
|
});
|