server/bo_client/tests/unit/initializers/constants-test.js
author ymh <ymh.work@gmail.com>
Mon, 22 Feb 2016 18:06:39 +0100
changeset 126 e87a340711a4
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
improve on dataloading. add fixture management with proper interface to load data.

import Ember from 'ember';
import ConstantsInitializer from '../../../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);
});