This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/tests/unit/components/display-error-test.js
2015-04-27 10:24:42 -08:00

21 lines
489 B
JavaScript

import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('display-error', {
// 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');
});