From 052333b5c06a749d12cae384f04d8d1e7e0a203a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 27 Nov 2015 16:13:53 -0800 Subject: enable tests --- test/test.js | 6 +++--- 1 file 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 () { execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); }); - xit('install app', function () { + it('install app', function () { execSync('cloudron install --new --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); }); @@ -74,12 +74,12 @@ describe('Application life cycle test', function () { }); it('can get the uploaded file', function (done) { - var contents = execSync(__dirname + '/../cli/surfer.js get test/test.js').toString('utf8'); + var contents = execSync(__dirname + '/../cli/surfer.js get surfer-test.txt').toString('utf8'); expect(contents).to.be('surfer'); done(); }); - xit('uninstall app', function () { + it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); fs.unlinkSync(process.env.HOME + '/.surfer.json'); fs.unlinkSync(testFile); -- cgit v1.2.3