]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - test/test.js
enable tests
[perso/Immae/Projets/Nodejs/Surfer.git] / test / test.js
index c0d86d2965c04928b44b28986393b0f5f9b13116..9192d7a557e6c6a103f0a08298b31b4d00b10984 100755 (executable)
@@ -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);