]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - test/test.js
Version 5.9.0
[perso/Immae/Projets/Nodejs/Surfer.git] / test / test.js
index dace05d0119dca5a8b11cbb1ba7b2cae09d95835..979ffdeaf3fbf81f240fb9f0a2defc927a055153 100644 (file)
@@ -131,7 +131,7 @@ describe('Application life cycle test', function () {
     function uploadFile(name, done) {
         // File upload can't be tested with selenium, since the file input is not visible and thus can't be interacted with :-(
 
-        execSync(path.join(__dirname, '/../cli/surfer.js') + ' put ' + path.join(__dirname, name),  { stdio: 'inherit' } );
+        execSync(path.join(__dirname, '/../cli/surfer.js') + ' put ' + path.join(__dirname, name) + ' /',  { stdio: 'inherit' } );
         done();
     }