       done()
 
   it 'compiles with no -s', (done) ->
-    require('child_process').exec 'stitchup -o ./test/tmp/a.js ./test/fixtures/a', (error, stdout, stderr) ->
+    require('child_process').exec 'coffee ./src/stitchup.coffee -o ./test/tmp/a.js ./test/fixtures/a', (error, stdout, stderr) ->
       assert.ok(!error)
       assert.ok(!stderr)
       bundle = require('./tmp/a.js')

      assert.equal(bundle.require('a'), 'whoo')
      done()
  it 'compiles multiple sources with no -s', (done) ->
    require('child_process').exec 'stitchup -o ./test/tmp/ab.js ./test/fixtures/a ./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 'coffee ./src/stitchup.coffee -o ./test/tmp/d.js ./test/fixtures/invalid', (error, stdout, stderr) ->
      assert.ok(error)
      assert.ok(/AssertionError: Invalid source file given\./.test(stderr))
      done()
