28
|
1 |
import Ember from 'ember'; |
|
2 |
import ConstantsInitializer from '../../../initializers/constants'; |
|
3 |
import { module, test } from 'qunit'; |
|
4 |
|
|
5 |
let application; |
|
6 |
|
|
7 |
module('Unit | Initializer | constants', { |
|
8 |
beforeEach() { |
|
9 |
Ember.run(function() { |
|
10 |
application = Ember.Application.create(); |
|
11 |
application.deferReadiness(); |
|
12 |
}); |
|
13 |
} |
|
14 |
}); |
|
15 |
|
|
16 |
// Replace this with your real tests. |
|
17 |
test('it works', function(assert) { |
|
18 |
ConstantsInitializer.initialize(application); |
|
19 |
|
|
20 |
// you would normally confirm the results of the initializer here |
|
21 |
assert.ok(true); |
|
22 |
}); |