diff --git a/test/cmd.js b/test/cmd.js index eb72e15f1..d5853dea2 100644 --- a/test/cmd.js +++ b/test/cmd.js @@ -32,7 +32,7 @@ describe('embark.Cmd', function () { cmd.newApp(undefined, function (output) { var lines = output.split('\n'); console.log(lines); - process.stdout.write(appname); + process.stdin.write(appname + '\n'); assert.equal(lines[0], pl[0]); done(); });