added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:posts/followings', 'Unit | Controller | posts/followings', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:posts/index', 'Unit | Controller | posts/index', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:posts/new', 'Unit | Controller | posts/new', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:posts/profile', 'Unit | Controller | posts/profile', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:notifications']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
||||
@@ -0,0 +1,24 @@
|
||||
import Ember from 'ember';
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
const {
|
||||
run,
|
||||
} = Ember;
|
||||
|
||||
moduleFor('controller:posts/show', 'Unit | Controller | posts/show', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
run.begin();
|
||||
|
||||
let controller = this.subject();
|
||||
|
||||
controller.set('model', {});
|
||||
|
||||
assert.ok(controller);
|
||||
|
||||
run.end();
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:posts/topic', 'Unit | Controller | posts/topic', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.subject();
|
||||
assert.ok(controller);
|
||||
});
|
||||
Reference in New Issue
Block a user