set cloudron name after logging in

This commit is contained in:
Girish Ramakrishnan 2016-10-13 20:20:54 -07:00
parent 64253b9e14
commit ab611fd66e

View File

@ -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);
});