mirror of https://github.com/status-im/consul.git
Include logger for generated tests
This commit is contained in:
parent
b38e5df630
commit
871953ba39
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
});
|
Loading…
Reference in New Issue