mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
1309a8144f
refs https://github.com/TryGhost/Toolbox/issues/215 - The conversion should serve as a reference test. It was also a massive LoC drop when converting, felt almost criminal not to do it!
19 lines
527 B
JavaScript
19 lines
527 B
JavaScript
const {agentProvider, fixtureManager, matchers} = require('../../utils/e2e-framework');
|
|
|
|
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()
|
|
.matchBodySnapshot();
|
|
});
|
|
});
|