Skip to content

Commit d608f61

Browse files
committed
Add the missing service
1 parent 20a170f commit d608f61

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Ember from 'ember';
2+
3+
import config from 'ember-get-config';
4+
5+
export default Ember.Service.extend({
6+
init() {
7+
Object.keys(config.JAMDB).map((k) => {
8+
this.set(k, Ember.copy(config.JAMDB[k], true));
9+
});
10+
}
11+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from 'exp-models/services/namespace-config';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { moduleFor, test } from 'ember-qunit';
2+
3+
moduleFor('service:namespace-config', 'Unit | Service | namespace config', {
4+
// Specify the other units that are required for this test.
5+
// needs: ['service:foo']
6+
});
7+
8+
// Replace this with your real tests.
9+
test('it exists', function(assert) {
10+
let service = this.subject();
11+
assert.ok(service);
12+
});

0 commit comments

Comments
 (0)