Bring it up to date

This commit is contained in:
Martin Donnelly 2015-03-20 13:56:36 +00:00
parent 3b4a98545f
commit 0290f30f2f
8 changed files with 85 additions and 3 deletions

10
TeSt.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
</body>
</html>

View File

View File

@ -20,11 +20,11 @@ module.exports = function(environment) {
};
if (environment === 'development') {
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
ENV.APP.LOG_RESOLVER = true;
ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.APP.LOG_VIEW_LOOKUPS = true;
}
if (environment === 'test') {

View File

@ -0,0 +1,15 @@
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('adapter:application', 'ApplicationAdapter', {
// Specify the other units that are required for this test.
// needs: ['serializer:foo']
});
// Replace this with your real tests.
test('it exists', function(assert) {
var adapter = this.subject();
assert.ok(adapter);
});

View File

@ -0,0 +1,15 @@
import {
moduleForModel,
test
} from 'ember-qunit';
moduleForModel('friend', {
// Specify the other units that are required for this test.
needs: []
});
test('it exists', function(assert) {
var model = this.subject();
// var store = this.store();
assert.ok(!!model);
});

View File

@ -0,0 +1,14 @@
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('route:friends', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function(assert) {
var route = this.subject();
assert.ok(route);
});

View File

@ -0,0 +1,14 @@
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('route:friends/index', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function(assert) {
var route = this.subject();
assert.ok(route);
});

View File

@ -0,0 +1,14 @@
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('route:friends/new', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function(assert) {
var route = this.subject();
assert.ok(route);
});