From 2e49a799a6d6874c2e643bbfc605c50092f04607 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 30 Oct 2015 19:41:00 -0700 Subject: [PATCH] check dns records after activation --- test/new-user-test.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/new-user-test.js b/test/new-user-test.js index b215849..5ef4bc3 100644 --- a/test/new-user-test.js +++ b/test/new-user-test.js @@ -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 () { }); }); -