Tests vars-on-top

This commit is contained in:
Amine Ben hammou
2017-09-27 15:10:51 +00:00
parent 4e2e9f6f8f
commit 9b41641e97
17 changed files with 88 additions and 51 deletions

View File

@@ -7,10 +7,11 @@ define([
describe('Config', function () {
it('loads and stores configuration', function() {
var model;
ConfigComponent.setConfig({
testConfig: 'testValue'
});
var model = ConfigComponent.getConfig();
model = ConfigComponent.getConfig();
expect(model.get('testConfig')).to.equal('testValue');
});
});