lemo-crm/web/tests/unit/initializers/application-test.js
Shaun Chyxion 528e09dbdd init
2017-06-04 22:56:26 +08:00

24 lines
600 B
JavaScript

import Ember from 'ember';
import { initialize } from '../../../initializers/application';
import { module, test } from 'qunit';
var registry, application;
module('Unit | Initializer | application', {
beforeEach: function() {
Ember.run(function() {
application = Ember.Application.create();
registry = application.registry;
application.deferReadiness();
});
}
});
// Replace this with your real tests.
test('it works', function(assert) {
initialize(registry, application);
// you would normally confirm the results of the initializer here
assert.ok(true);
});