Cleaned up scientific naming.
This commit is contained in:
parent
d587f14af4
commit
fdc29a6baa
9 changed files with 49 additions and 12 deletions
21
tests/unit/components/scientific-name-test.js
Normal file
21
tests/unit/components/scientific-name-test.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
import {
|
||||
moduleForComponent,
|
||||
test
|
||||
} from 'ember-qunit';
|
||||
|
||||
moduleForComponent('scientific-name', {
|
||||
// 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');
|
||||
});
|
Reference in a new issue