ENH: Collection List (#20)
This commit is contained in:
parent
77071dfa35
commit
55a1c4fca6
26 changed files with 284 additions and 3 deletions
12
tests/unit/models/collection-method-test.js
Normal file
12
tests/unit/models/collection-method-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('collection-method', 'Unit | Model | collection method', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
12
tests/unit/models/collection-test.js
Normal file
12
tests/unit/models/collection-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('collection', 'Unit | Model | collection', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
12
tests/unit/models/collection-type-test.js
Normal file
12
tests/unit/models/collection-type-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('collection-type', 'Unit | Model | collection type', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
12
tests/unit/models/project-test.js
Normal file
12
tests/unit/models/project-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('project', 'Unit | Model | project', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
12
tests/unit/models/study-location-test.js
Normal file
12
tests/unit/models/study-location-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('study-location', 'Unit | Model | study location', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
10
tests/unit/routes/collections-test.js
Normal file
10
tests/unit/routes/collections-test.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:collections', 'Unit | Route | collections', {
|
||||
unit: true,
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
const route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
12
tests/unit/transforms/string-null-to-empty-test.js
Normal file
12
tests/unit/transforms/string-null-to-empty-test.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('transform:string-null-to-empty', 'Unit | Transform | string null to empty', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['serializer:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let transform = this.subject();
|
||||
assert.ok(transform);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue