From ab611fd66e74fc839cd82927c646dd8ac11d0598 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 13 Oct 2016 20:20:54 -0700 Subject: [PATCH] set cloudron name after logging in --- test/cloudron-user-test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/cloudron-user-test.js b/test/cloudron-user-test.js index 41e6787..1ba4eb1 100644 --- a/test/cloudron-user-test.js +++ b/test/cloudron-user-test.js @@ -57,15 +57,15 @@ describe('Cloudron user creation testing', function () { cloudron.activate(owner); }); - it('can set cloudron name', function () { - cloudron.setCloudronName('Acme Inc'); - }); - - it('can login to the box', function () { + it('can login to the box', function () { var token = cloudron.getOauthToken(owner); cloudron.setCredentials(owner.password, token); }); + it('can set cloudron name', function () { + cloudron.setCloudronName('Acme Inc'); + }); + it('can enable email', function () { cloudron.setEmailEnabled(true); });