       "--port"
       testPort
     ]
-    spacejamChild.spawn(spacejamCmdLineLocal,args,{cwd:testApp2})
+    spacejamChild.spawn(spacejamBin,args,{cwd:testApp2})
     spacejamChild.child.on "exit", (code) =>
       expect(code).to.equal SpaceJam.ERR_CODE.METEOR_ERROR
       done()

      "--port"
      testPort
    ]
    spacejamChild.spawn(spacejamCmdLineLocal,args,{cwd:testApp1})
    spacejamChild.child.on "exit", (code) =>
      expect(code,"spacejam exited with errors").to.equal SpaceJam.ERR_CODE.TEST_SUCCESS
      done()

      "--port"
      testPort
    ]
    spacejamChild.spawn(spacejamBin,args,{cwd:testApp1})
    spacejamChild.child.on "exit", (code) =>
      expect(code,"spacejam exited with the wrong code").to.equal SpaceJam.ERR_CODE.TEST_SUCCESS
      done()
