From cb626b26dc0ea38c8de346cc9a363a3c1913ebec Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 30 Oct 2015 21:21:17 -0700 Subject: [PATCH] set config after login --- test/new-user-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/new-user-test.js b/test/new-user-test.js index c9de867..dbabad1 100644 --- a/test/new-user-test.js +++ b/test/new-user-test.js @@ -65,15 +65,15 @@ describe('Appstore new user flow', function () { cloudron.activate(owner); }); - it('can set dns config', function () { - cloudron.setDnsConfig({ provider: 'caas' }); - }); - it('can login to the box', function () { var token = cloudron.getOauthToken(owner); cloudron.setCredentials(owner.password, token); }); + it('can set dns config', function () { + cloudron.setDnsConfig({ provider: 'caas' }); + }); + var location = 'haste' + (Math.random() * 10000).toFixed(); it('can install app', function () { var manifest = appStore.getManifest('com.hastebin.cloudronapp', '0.1.1');