🔥 🔦 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:
parent
66129ed9da
commit
0487ac5a1b
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user