Genbank URL
This commit is contained in:
parent
559c0a3d9f
commit
e4f01246c2
4 changed files with 31 additions and 1 deletions
19
tests/unit/pods/components/genbank-url/component-test.js
Normal file
19
tests/unit/pods/components/genbank-url/component-test.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { moduleForComponent, test } from 'ember-qunit';
|
||||
|
||||
moduleForComponent('genbank-url', 'Unit | Component | genbank url', {
|
||||
// Specify the other units that are required for this test
|
||||
// needs: ['component:foo', 'helper:bar'],
|
||||
unit: true
|
||||
});
|
||||
|
||||
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');
|
||||
});
|
Reference in a new issue