Fix tests

This commit is contained in:
2017-11-08 23:35:23 +01:00
parent 3956a59f58
commit bf84e70527
7 changed files with 15 additions and 30 deletions

View File

@@ -1,11 +1,9 @@
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:application', 'Unit | Controller | application', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
needs: ['service:storage']
});
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subject();
assert.ok(controller);

View File

@@ -1,8 +1,7 @@
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:index', 'Unit | Controller | index', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
needs: ['service:storage']
});
// Replace this with your real tests.

View File

@@ -1,8 +1,7 @@
import { moduleFor, test } from 'ember-qunit';
moduleFor('route:index', 'Unit | Route | index', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
needs: ['service:storage']
});
test('it exists', function(assert) {