🔥 🔦 we no longer keep config and configExample in config

refs #6982
- see https://github.com/TryGhost/Ghost/blob/master/core/server/config/index.js#L217
- remove tests for it

[ci skip]
This commit is contained in:
kirrg001 2016-09-13 22:20:21 +02:00 committed by Hannah Wolfe
parent 66129ed9da
commit 0487ac5a1b

View File

@ -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',
@ -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');