verify dns records are gone
This commit is contained in:
parent
8f648f0c59
commit
fd78e7b590
@ -95,5 +95,22 @@ describe('Appstore new user flow', function () {
|
||||
it('can delete the cloudron', function () {
|
||||
appStore.deleteCloudron(box);
|
||||
});
|
||||
|
||||
it('has setup DNS records cleaned up', function (done) {
|
||||
function expectError(fn) {
|
||||
return function (cb) {
|
||||
fn(function (error) {
|
||||
cb(error ? null : new Error('Expecing error for ' + fn.name));
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
async.series([
|
||||
expectError(cloudron.checkSPF.bind(cloudron)),
|
||||
expectError(cloudron.checkDKIM.bind(cloudron)),
|
||||
expectError(cloudron.checkDMARC.bind(cloudron))
|
||||
], done);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user