Include logger for generated tests

This commit is contained in:
John Cowen 2018-05-22 16:58:40 +01:00 committed by Jack Pearkes
parent b38e5df630
commit 871953ba39
4 changed files with 15 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
moduleFor('route:dc/intentions/create', 'Unit | Route | dc/intentions/create', {
// Specify the other units that are required for this test.
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
});
test('it exists', function(assert) {

View File

@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
moduleFor('route:dc/intentions/edit', 'Unit | Route | dc/intentions/edit', {
// Specify the other units that are required for this test.
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
});
test('it exists', function(assert) {

View File

@ -2,7 +2,7 @@ import { moduleFor, test } from 'ember-qunit';
moduleFor('route:dc/intentions/index', 'Unit | Route | dc/intentions/index', {
// Specify the other units that are required for this test.
needs: ['service:intentions', 'service:feedback', 'service:flashMessages'],
needs: ['service:intentions', 'service:feedback', 'service:logger', 'service:flashMessages'],
});
test('it exists', function(assert) {

View File

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