settings-test.js 535 B

1234567891011121314151617181920212223
  1. import Ember from 'ember';
  2. import { initialize } from 'misago/initializers/settings';
  3. var container, application;
  4. module('SettingsInitializer', {
  5. setup: function() {
  6. Ember.run(function() {
  7. application = Ember.Application.create();
  8. container = application.__container__;
  9. application.deferReadiness();
  10. });
  11. }
  12. });
  13. // Replace this with your real tests.
  14. test('it works', function() {
  15. initialize(container, application);
  16. // you would normally confirm the results of the initializer here
  17. ok(true);
  18. });