mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
c5ba27e2b5
refs: https://github.com/TryGhost/Team/issues/626 - calculated settings are simplified settings (booleans) that are based on other settings or data - they make it easier for us to determine what state features are in elsewhere in ghost e.g. admin and themes - this duplicates some of the members config concepts in the settings service
22 lines
600 B
JavaScript
22 lines
600 B
JavaScript
const {agentProvider, fixtureManager, matchers} = require('../../utils/e2e-framework');
|
|
const {anyEtag} = matchers;
|
|
|
|
describe('Settings Content API', function () {
|
|
let agent;
|
|
|
|
before(async function () {
|
|
agent = await agentProvider.getContentAPIAgent();
|
|
await fixtureManager.init('api_keys');
|
|
agent.authenticate();
|
|
});
|
|
|
|
it('Can request settings', async function () {
|
|
await agent.get('settings/')
|
|
.expectStatus(200)
|
|
.matchHeaderSnapshot({
|
|
etag: anyEtag
|
|
})
|
|
.matchBodySnapshot();
|
|
});
|
|
});
|