Convert event forms to be partially embery.

This commit is contained in:
Tom Price
2016-08-09 18:26:16 +01:00
parent bccd82c6aa
commit 60cf5dbb71
20 changed files with 619 additions and 343 deletions

View File

@@ -0,0 +1,12 @@
import {moduleFor, test} from "ember-qunit";
moduleFor('controller:event/create', 'Unit | Controller | event/create', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.subject();
assert.ok(controller);
});

View File

@@ -0,0 +1,12 @@
import Ember from "ember";
import SetTimeMixinMixin from "pyrigs/mixins/set-time-mixin";
import {module, test} from "qunit";
module('Unit | Mixin | set time mixin');
// Replace this with your real tests.
test('it works', function (assert) {
let SetTimeMixinObject = Ember.Object.extend(SetTimeMixinMixin);
let subject = SetTimeMixinObject.create();
assert.ok(subject);
});

View File

@@ -0,0 +1,11 @@
import {moduleFor, test} from "ember-qunit";
moduleFor('route:event/create', 'Unit | Route | event/create', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function (assert) {
let route = this.subject();
assert.ok(route);
});

View File

@@ -0,0 +1,11 @@
import {moduleFor, test} from "ember-qunit";
moduleFor('route:event/duplicate', 'Unit | Route | event/duplicate', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function (assert) {
let route = this.subject();
assert.ok(route);
});

View File

@@ -0,0 +1,11 @@
import {moduleFor, test} from "ember-qunit";
moduleFor('route:event/edit', 'Unit | Route | event/edit', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function (assert) {
let route = this.subject();
assert.ok(route);
});