Files
piratepoet/tests/javascript/newsletter_editor/components/config.spec.js
2015-08-28 00:43:01 +03:00

10 lines
356 B
JavaScript

describe('Config', function () {
it('loads and stores configuration', function() {
EditorApplication.module('components.config').setConfig({
testConfig: 'testValue',
});
var model = EditorApplication.module('components.config').getConfig();
expect(model.get('testConfig')).to.equal('testValue');
});
});