Use the /Applications directory to test cwd on Child Processes

This commit is contained in:
probablycorey 2013-03-01 13:40:26 -08:00
parent 2966cdb033
commit b7976cac68

View File

@ -134,11 +134,11 @@ describe 'Child Processes', ->
waitsForPromise ->
options =
cwd: fixturesProject.getPath()
cwd: "/Applications"
stdout: (data) -> output.push(data)
stderr: (data) ->
ChildProcess.exec("pwd", options)
runs ->
expect(output.join('')).toBe "#{fixturesProject.getPath()}\n"
expect(output.join('')).toBe "/Applications\n"