WIP - rebuilding from ground up
This commit is contained in:
parent
62020a9865
commit
ced3f7d2d2
16 changed files with 154 additions and 4 deletions
15
tests/unit/models/strain-test.js
Normal file
15
tests/unit/models/strain-test.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
import {
|
||||
moduleForModel,
|
||||
test
|
||||
} from 'ember-qunit';
|
||||
|
||||
moduleForModel('strain', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
var model = this.subject();
|
||||
// var store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
14
tests/unit/routes/strains-test.js
Normal file
14
tests/unit/routes/strains-test.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {
|
||||
moduleFor,
|
||||
test
|
||||
} from 'ember-qunit';
|
||||
|
||||
moduleFor('route:strains', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
var route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
14
tests/unit/routes/strains/index-test.js
Normal file
14
tests/unit/routes/strains/index-test.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {
|
||||
moduleFor,
|
||||
test
|
||||
} from 'ember-qunit';
|
||||
|
||||
moduleFor('route:strains/index', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
var route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
14
tests/unit/routes/strains/show-test.js
Normal file
14
tests/unit/routes/strains/show-test.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {
|
||||
moduleFor,
|
||||
test
|
||||
} from 'ember-qunit';
|
||||
|
||||
moduleFor('route:strains/show', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['controller:foo']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
var route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
Reference in a new issue