         assert.ok(!(/0 \.\/test\/tmp\/a\.2\.js/.test(stdout)))
         done()
   it 'compiles nested coffeescript commonjs modules', (done) ->
-    require('child_process').exec 'stitchup -o ./test/tmp/b.js ./test/fixtures/b', (error, stdout, stderr) ->
+    require('child_process').exec 'coffee ./src/stitchup.coffee -o ./test/tmp/b.js ./test/fixtures/b', (error, stdout, stderr) ->
       assert.ok(!error)
       assert.ok(!stderr)
 

      done()
    
  it 'displays an error if you try to compile an non-existant invalid file', (done) ->
    require('child_process').exec 'stitchup -o ./test/tmp/d.js ./test/fixtures/invalid', (error, stdout, stderr) ->
      assert.ok(error)
      assert.ok(/AssertionError: Invalid source file given\./.test(stderr))
      done()

      done()
    
  it 'doesn\'t expose anything from libs with no exports', (done) ->
    require('child_process').exec 'coffee ./src/stitchup.coffee -o ./test/tmp/d.js ./test/fixtures/d', (error, stdout, stderr) ->
      assert.ok(!error)
      assert.ok(!stderr)

