added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('adapter:reaction', 'Unit | Adapter | reaction', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:session']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let adapter = this.subject();
|
||||
assert.ok(adapter);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:notifications', 'Unit | Controller | notifications', {
|
||||
// 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:oracle/index', 'Unit | Controller | oracle/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/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);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('controller:settings', 'Unit | Controller | settings', {
|
||||
// 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,15 @@
|
||||
|
||||
import { includes } from 'flaredown/helpers/includes';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Helper | includes');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
assert.notOk(includes([42]));
|
||||
assert.notOk(includes([42, 43]));
|
||||
assert.ok(includes([42, 42]));
|
||||
assert.ok(includes([42, 42, 43]));
|
||||
assert.ok(includes([42, 43, 42]));
|
||||
});
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
import Ember from 'ember';
|
||||
import { initialize } from 'flaredown/instance-initializers/emojis';
|
||||
import { module, test } from 'qunit';
|
||||
import destroyApp from '../../helpers/destroy-app';
|
||||
|
||||
module('Unit | Instance Initializer | emojis', {
|
||||
beforeEach() {
|
||||
Ember.run(() => {
|
||||
this.application = Ember.Application.create();
|
||||
this.appInstance = this.application.buildInstance();
|
||||
});
|
||||
},
|
||||
afterEach() {
|
||||
Ember.run(this.appInstance, 'destroy');
|
||||
destroyApp(this.application);
|
||||
}
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
initialize(this.appInstance);
|
||||
|
||||
// you would normally confirm the results of the initializer here
|
||||
assert.ok(true);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import AddMetaTagsMixin from 'flaredown/mixins/add-meta-tags';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | add meta tags');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let AddMetaTagsObject = Ember.Object.extend(AddMetaTagsMixin);
|
||||
let subject = AddMetaTagsObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import BackNavigateableMixin from 'flaredown/mixins/back-navigateable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | back navigateable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let BackNavigateableObject = Ember.Object.extend(BackNavigateableMixin);
|
||||
let subject = BackNavigateableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import BodyFormatableMixin from 'flaredown/mixins/body-formatable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | body formatable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let BodyFormatableObject = Ember.Object.extend(BodyFormatableMixin);
|
||||
let subject = BodyFormatableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import FieldsByUnitsMixin from 'flaredown/mixins/fields-by-units';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | fields by units');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let FieldsByUnitsObject = Ember.Object.extend(FieldsByUnitsMixin);
|
||||
let subject = FieldsByUnitsObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import HistoryTrackableMixin from 'flaredown/mixins/history-trackable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | history trackable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let HistoryTrackableObject = Ember.Object.extend(HistoryTrackableMixin);
|
||||
let subject = HistoryTrackableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import NavbarSearchableMixin from 'flaredown/mixins/navbar-searchable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | navbar searcheable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let NavbarSearchableObject = Ember.Object.extend(NavbarSearchableMixin);
|
||||
let subject = NavbarSearchableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import PostableGetableMixin from 'flaredown/mixins/postable-getable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | postable getable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let PostableGetableObject = Ember.Object.extend(PostableGetableMixin);
|
||||
let subject = PostableGetableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import ToggleHeaderLogoMixin from 'flaredown/mixins/toggle-header-logo';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | toggle header logo');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let ToggleHeaderLogoObject = Ember.Object.extend(ToggleHeaderLogoMixin);
|
||||
let subject = ToggleHeaderLogoObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import TopicableMixin from 'flaredown/mixins/topicable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | topicable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let TopicableObject = Ember.Object.extend(TopicableMixin);
|
||||
let subject = TopicableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import TypeableMixin from 'flaredown/mixins/typeable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | typeable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let TypeableObject = Ember.Object.extend(TypeableMixin);
|
||||
let subject = TypeableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import UpdateNotificationsMixin from 'flaredown/mixins/update-notifications';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | update notifications');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let UpdateNotificationsObject = Ember.Object.extend(UpdateNotificationsMixin);
|
||||
let subject = UpdateNotificationsObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import Ember from 'ember';
|
||||
import UserNameableMixin from 'flaredown/mixins/user-nameable';
|
||||
import { module, test } from 'qunit';
|
||||
|
||||
module('Unit | Mixin | user nameable');
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it works', function(assert) {
|
||||
let UserNameableObject = Ember.Object.extend(UserNameableMixin);
|
||||
let subject = UserNameableObject.create();
|
||||
assert.ok(subject);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('chart-list', 'Unit | Model | chart list', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('comment', 'Unit | Model | comment', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:post', 'model:reaction']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('food', 'Unit | Model | food', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('harvey-bradshaw-index', 'Unit | Model | harvey bradshaw index', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:checkin']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('notification', 'Unit | Model | notification', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('oracle-request', 'Unit | Model | oracle request', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:sex', 'model:symptom']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('pattern', 'Unit | Model | pattern', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('post', 'Unit | Model | post', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:tag', 'model:symptom', 'model:comment', 'model:condition', 'model:treatment', 'model:reaction']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('postable', 'Unit | Model | postable', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:post', 'model:comment']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('reactable', 'Unit | Model | reactable', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:reaction']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('reaction', 'Unit | Model | reaction', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('session', 'Unit | Model | session', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('topic-following', 'Unit | Model | topic following', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:tag', 'model:symptom', 'model:comment', 'model:condition', 'model:treatment']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('user', 'Unit | Model | user', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:profile', 'model:topic-following']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('weather', 'Unit | Model | weather', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: []
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let model = this.subject();
|
||||
// let store = this.store();
|
||||
assert.ok(!!model);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:notifications', 'Unit | Route | notifications', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:oracle', 'Unit | Route | oracle', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:oracle/index', 'Unit | Route | oracle/index', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:oracle/result', 'Unit | Route | oracle/result', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts', 'Unit | Route | posts', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/followings', 'Unit | Route | posts/followings', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/index', 'Unit | Route | posts/index', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/new', 'Unit | Route | posts/new', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/profile', 'Unit | Route | posts/profile', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/show', 'Unit | Route | 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', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:posts/topic', 'Unit | Route | 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', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('route:settings', 'Unit | Route | settings', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:router-scroll', 'service:route-history', 'service:session', 'service:ajax', 'service:notifications', 'service:logo-visiability']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
let route = this.subject();
|
||||
assert.ok(route);
|
||||
});
|
||||
@@ -0,0 +1,23 @@
|
||||
import { moduleForModel, test } from 'ember-qunit';
|
||||
|
||||
moduleForModel('post', 'Unit | Serializer | post', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: [
|
||||
'serializer:post',
|
||||
'model:tag',
|
||||
'model:symptom',
|
||||
'model:comment',
|
||||
'model:condition',
|
||||
'model:treatment',
|
||||
'model:reaction',
|
||||
]
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it serializes records', function(assert) {
|
||||
let record = this.subject();
|
||||
|
||||
let serializedRecord = record.serialize();
|
||||
|
||||
assert.ok(serializedRecord);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:ajax', 'Unit | Service | ajax', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:session']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:emojis', 'Unit | Service | emojis', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['service:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:logo-visiability', 'Unit | Service | logo visiability', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['service:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:notifications', 'Unit | Service | notifications', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['service:session']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('service:route-history', 'Unit | Service | route history', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['service:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let service = this.subject();
|
||||
assert.ok(service);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('transform:raw', 'Unit | Transform | raw', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['serializer:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let transform = this.subject();
|
||||
assert.ok(transform);
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { moduleFor, test } from 'ember-qunit';
|
||||
|
||||
moduleFor('transform:time-zone-name', 'Unit | Transform | time zone name', {
|
||||
// Specify the other units that are required for this test.
|
||||
// needs: ['serializer:foo']
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let transform = this.subject();
|
||||
assert.ok(transform);
|
||||
});
|
||||
Reference in New Issue
Block a user