no specifying path for shutdown

This commit is contained in:
2016-09-11 16:48:08 +02:00
parent f73e4c4dc3
commit ac54e85946
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ describe('smartdata',function(){
describe('mongodb',function(){
it('should kill mongodb',function(){
shelljs.exec('mongod --shutdown')
shelljs.exec('mongod --dbpath=./test/data --shutdown')
mongoChildProcess.kill('SIGTERM')
})
})