Skip to content

Commit

Permalink
馃敟 馃敠 we no longer keep config and configExample in config
Browse files Browse the repository at this point in the history
  • Loading branch information
kirrg001 authored and ErisDS committed Sep 20, 2016
1 parent 66129ed commit 0487ac5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/test/unit/config_spec.js
Expand Up @@ -94,8 +94,6 @@ describe('Config', function () {
// This will fail if there are any extra keys
pathConfig.should.have.keys(
'appRoot',
'config',
'configExample',
'storagePath',
'contentPath',
'corePath',
Expand All @@ -118,17 +116,14 @@ describe('Config', function () {
});

it('should allow specific properties to be user defined', function () {
var contentPath = path.join(config.get('paths').appRoot, 'otherContent', '/'),
configFile = 'configFileDanceParty.js';
var contentPath = path.join(config.get('paths').appRoot, 'otherContent', '/');

configUtils.set({
config: configFile,
paths: {
contentPath: contentPath
}
});

config.should.have.property('config', configFile);
config.get('paths').should.have.property('contentPath', contentPath);
config.get('paths').should.have.property('themePath', contentPath + 'themes');
config.get('paths').should.have.property('appPath', contentPath + 'apps');
Expand Down

0 comments on commit 0487ac5

Please sign in to comment.