cms/app-client/tests/unit/initializers/constants-test.js
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 05 Aug 2016 18:51:59 +0200
changeset 253 0be9770b09b4
parent 126 e87a340711a4
permissions -rw-r--r--
Hide/show transcript button in the player - Do not request transscript when property is null in the document request

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);
});