cms/app-client/tests/unit/initializers/constants-test.js
author ymh <ymh.work@gmail.com>
Thu, 16 Feb 2017 18:22:16 +0100
changeset 515 557cca5cb813
parent 126 e87a340711a4
permissions -rw-r--r--
move template compiler into dependencies

import Ember from 'ember';
import ConstantsInitializer from 'app-client/initializers/constants';
import { module, test } from 'qunit';

let application;

module('Unit | Initializer | constants', {
  beforeEach() {
    Ember.run(function() {
      application = Ember.Application.create();
      application.deferReadiness();
    });
  }
});

// Replace this with your real tests.
test('it works', function(assert) {
  ConstantsInitializer.initialize(application);

  // you would normally confirm the results of the initializer here
  assert.ok(true);
});