mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
a8687b35b9
refs https://github.com/TryGhost/Team/issues/1498 refs https://github.com/TryGhost/Team/issues/584 - Added newsletter `from` address verification Co-authored-by: Hannah Wolfe <github.erisds@gmail.com>
22 lines
667 B
JavaScript
22 lines
667 B
JavaScript
const models = require('../../../../../core/server/models');
|
|
const assert = require('assert');
|
|
|
|
describe('Newsletters Service', function () {
|
|
let newslettersService;
|
|
|
|
before(function () {
|
|
models.init();
|
|
});
|
|
|
|
describe('Newsletter Service', function () {
|
|
it('Provides expected public API', async function () {
|
|
newslettersService = require('../../../../../core/server/services/newsletters');
|
|
|
|
assert.ok(newslettersService.browse);
|
|
assert.ok(newslettersService.edit);
|
|
assert.ok(newslettersService.add);
|
|
assert.ok(newslettersService.verifyPropertyUpdate);
|
|
});
|
|
});
|
|
});
|