Changelog added and unused tests removed
This commit is contained in:
parent
b6f6f4db37
commit
52bb5de25a
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
ui: add service discovery, along with health checks, to job and allocation routes
|
||||||
|
```
|
|
@ -1,12 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Adapter | service', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
// Replace this with your real tests.
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let adapter = this.owner.lookup('adapter:service');
|
|
||||||
assert.ok(adapter);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,12 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Controller | jobs/job/services', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
// TODO: Replace this with your real tests.
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let controller = this.owner.lookup('controller:jobs/job/services');
|
|
||||||
assert.ok(controller);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,12 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Controller | jobs/job/services/index', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
// TODO: Replace this with your real tests.
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let controller = this.owner.lookup('controller:jobs/job/services/index');
|
|
||||||
assert.ok(controller);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,12 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Controller | jobs/job/services/service', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
// TODO: Replace this with your real tests.
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let controller = this.owner.lookup('controller:jobs/job/services/service');
|
|
||||||
assert.ok(controller);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,11 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Route | jobs/job/services/index', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let route = this.owner.lookup('route:jobs/job/services/index');
|
|
||||||
assert.ok(route);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,11 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Route | jobs/job/services/service', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let route = this.owner.lookup('route:jobs/job/services/service');
|
|
||||||
assert.ok(route);
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,23 +0,0 @@
|
||||||
import { module, test } from 'qunit';
|
|
||||||
import { setupTest } from 'ember-qunit';
|
|
||||||
|
|
||||||
module('Unit | Serializer | service', function (hooks) {
|
|
||||||
setupTest(hooks);
|
|
||||||
|
|
||||||
// Replace this with your real tests.
|
|
||||||
test('it exists', function (assert) {
|
|
||||||
let store = this.owner.lookup('service:store');
|
|
||||||
let serializer = store.serializerFor('service');
|
|
||||||
|
|
||||||
assert.ok(serializer);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('it serializes records', function (assert) {
|
|
||||||
let store = this.owner.lookup('service:store');
|
|
||||||
let record = store.createRecord('service', {});
|
|
||||||
|
|
||||||
let serializedRecord = record.serialize();
|
|
||||||
|
|
||||||
assert.ok(serializedRecord);
|
|
||||||
});
|
|
||||||
});
|
|
Loading…
Reference in New Issue