check dns records after activation

This commit is contained in:
Girish Ramakrishnan 2015-10-30 19:41:00 -07:00
parent ec14c34a9e
commit 2e49a799a6

View File

@ -61,15 +61,6 @@ describe('Appstore new user flow', function () {
cloudron = new Cloudron(box); cloudron = new Cloudron(box);
}); });
it('has setup DNS records correctly', function (done) {
async.series([
cloudron.checkA.bind(cloudron),
cloudron.checkSPF.bind(cloudron),
cloudron.checkDKIM.bind(cloudron),
cloudron.checkDMARC.bind(cloudron)
], done);
});
it('can activate the box', function () { it('can activate the box', function () {
cloudron.activate(owner); cloudron.activate(owner);
}); });
@ -94,6 +85,16 @@ describe('Appstore new user flow', function () {
cloudron.uninstallApp(appId); cloudron.uninstallApp(appId);
}); });
// check this after activation
it('has setup DNS records correctly', function (done) {
async.series([
cloudron.checkA.bind(cloudron),
cloudron.checkSPF.bind(cloudron),
cloudron.checkDKIM.bind(cloudron),
cloudron.checkDMARC.bind(cloudron)
], done);
});
it('can delete the cloudron', function () { it('can delete the cloudron', function () {
appStore.deleteCloudron(box); appStore.deleteCloudron(box);
}); });
@ -120,4 +121,3 @@ describe('Appstore new user flow', function () {
}); });
}); });