sieve script across updates

This commit is contained in:
Girish Ramakrishnan 2016-05-18 19:35:22 -07:00
parent 83986baf1f
commit 4e543eb439

View File

@ -65,6 +65,10 @@ describe('Cloudron update testing', function () {
cloudron.activate(owner);
});
it('can save a sieve script', function (done) {
cloudron.saveSieveScript(owner, done);
});
it('can login to the box', function () {
var token = cloudron.getOauthToken(owner);
cloudron.setCredentials(owner.password, token);
@ -114,6 +118,10 @@ describe('Cloudron update testing', function () {
cloudron.uninstallApp(appId);
});
it('can check sieve script', function (done) {
cloudron.checkSieveScript(owner, done);
});
it('can delete the cloudron', function () {
appStore.deleteCloudron(box);
});