Fix cli usage

This commit is contained in:
Girish Ramakrishnan 2017-04-15 09:39:26 -07:00
parent 5c2f3394a1
commit 6a182994b6

View File

@ -316,7 +316,7 @@ describe('Selfhost DigitalOcean with filesystem backend', function () {
}); });
it('can download backups', function () { it('can download backups', function () {
var out = machine('backup download ' + DO_SELFHOST_DOMAIN + ' --backup-id ' + backupInfo.id + ' ' + BACKUP_FOLDER); var out = machine('backup download --cloudron ' + DO_SELFHOST_DOMAIN + ' ' + backupInfo.id + ' ' + BACKUP_FOLDER);
console.log(out.stdout, out.stderr); console.log(out.stdout, out.stderr);
if (out.stdout.indexOf(backupInfo.id) === -1) assert(false, 'Download failed'); if (out.stdout.indexOf(backupInfo.id) === -1) assert(false, 'Download failed');