ENH: Collection List (#20)

This commit is contained in:
Matthew Ryan Dillon 2017-09-10 08:23:31 -07:00 committed by GitHub
parent 77071dfa35
commit 55a1c4fca6
26 changed files with 284 additions and 3 deletions

View 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);
});

View 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);
});

View 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);
});

View 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);
});

View 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);
});

View 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);
});

View 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);
});