 test 'queues files for compression', (t) ->
   t.plan 4
 
-  zip.setOutput zipFile
+  zip.setOutput zipFilePath
 
   stack = []
-
   files.forEach (file) ->
     do (file) ->
       stack.push (cb) ->

    t.end()

test 'creates zip file', (t) ->
  t.false fs.existsSync(zipFile), 'zip file is not created'

  zip.compress (err, bytes) ->
    t.error err, 'zip is created'
    t.true  fs.existsSync(zipFile), 'zip file is created'
    t.true (bytes > 0)

    t.end()
path = require 'path'
async = require 'async'
zip = require '../'
exec = require('child_process').exec

zipFilePath = path.resolve __dirname, 'tmp', 'output.zip'
files = ['00_create.coffee', 'runner.coffee', 'zz_cleanup.coffee']

files = files.map (f) ->
