Ghost/test/unit/server/services/newsletters/index.test.js
Kevin Ansfield a8687b35b9 Added newsletter from address verification (#14491)
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>
2022-04-26 12:31:34 +01:00

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);
});
});
});