test(pack) tar: put: file: pullout string -> pullout buffer

This commit is contained in:
coderaiser 2016-11-23 10:20:35 +02:00
parent 851728e46d
commit 5fdf235ae2

View file

@ -53,7 +53,7 @@ test('cloudcmd: rest: pack: tar: put: file', (t) => {
const options = getPackOptions(port, name);
put(options)
.then(warp(_pullout, 'string'))
.then(_pullout)
.then(() => {
const file = fs.readFileSync(__dirname + '/../' + name);