aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.js b/test/test.js
index c0d86d2..9192d7a 100755
--- a/test/test.js
+++ b/test/test.js
@@ -33,7 +33,7 @@ describe('Application life cycle test', function () {
33 execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); 33 execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
34 }); 34 });
35 35
36 xit('install app', function () { 36 it('install app', function () {
37 execSync('cloudron install --new --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); 37 execSync('cloudron install --new --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
38 }); 38 });
39 39
@@ -74,12 +74,12 @@ describe('Application life cycle test', function () {
74 }); 74 });
75 75
76 it('can get the uploaded file', function (done) { 76 it('can get the uploaded file', function (done) {
77 var contents = execSync(__dirname + '/../cli/surfer.js get test/test.js').toString('utf8'); 77 var contents = execSync(__dirname + '/../cli/surfer.js get surfer-test.txt').toString('utf8');
78 expect(contents).to.be('surfer'); 78 expect(contents).to.be('surfer');
79 done(); 79 done();
80 }); 80 });
81 81
82 xit('uninstall app', function () { 82 it('uninstall app', function () {
83 execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); 83 execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
84 fs.unlinkSync(process.env.HOME + '/.surfer.json'); 84 fs.unlinkSync(process.env.HOME + '/.surfer.json');
85 fs.unlinkSync(testFile); 85 fs.unlinkSync(testFile);