mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 14:02:15 +00:00
Convert event forms to be partially embery.
This commit is contained in:
12
tests/unit/controllers/event/create-test.js
Normal file
12
tests/unit/controllers/event/create-test.js
Normal 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);
|
||||
});
|
||||
12
tests/unit/mixins/set-time-mixin-test.js
Normal file
12
tests/unit/mixins/set-time-mixin-test.js
Normal 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);
|
||||
});
|
||||
11
tests/unit/routes/event/create-test.js
Normal file
11
tests/unit/routes/event/create-test.js
Normal 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);
|
||||
});
|
||||
11
tests/unit/routes/event/duplicate-test.js
Normal file
11
tests/unit/routes/event/duplicate-test.js
Normal 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);
|
||||
});
|
||||
11
tests/unit/routes/event/edit-test.js
Normal file
11
tests/unit/routes/event/edit-test.js
Normal 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);
|
||||
});
|
||||
Reference in New Issue
Block a user