Update Ember to 3.1

This commit is contained in:
2018-04-16 13:42:08 +02:00
parent e009caaf25
commit b09f19f399
156 changed files with 10149 additions and 16972 deletions
+8 -8
View File
@@ -1,11 +1,11 @@
import { moduleFor, test } from 'ember-qunit';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
moduleFor('route:application', 'Unit | Route | application', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
module('Unit | Route | application', function(hooks) {
setupTest(hooks);
test('it exists', function(assert) {
let route = this.subject();
assert.ok(route);
test('it exists', function(assert) {
let route = this.owner.lookup('route:application');
assert.ok(route);
});
});
+8 -8
View File
@@ -1,11 +1,11 @@
import { moduleFor, test } from 'ember-qunit';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
moduleFor('route:spinner', 'Unit | Route | spinner', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
module('Unit | Route | spinner', function(hooks) {
setupTest(hooks);
test('it exists', function(assert) {
let route = this.subject();
assert.ok(route);
test('it exists', function(assert) {
let route = this.owner.lookup('route:spinner');
assert.ok(route);
});
});