check dns records after activation

This commit is contained in:
Girish Ramakrishnan 2015-10-30 19:41:00 -07:00
parent ec14c34a9e
commit 2e49a799a6
1 changed files with 10 additions and 10 deletions

View File

@ -61,15 +61,6 @@ describe('Appstore new user flow', function () {
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 () {
cloudron.activate(owner);
});
@ -94,6 +85,16 @@ describe('Appstore new user flow', function () {
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 () {
appStore.deleteCloudron(box);
});
@ -120,4 +121,3 @@ describe('Appstore new user flow', function () {
});
});