     do done
 
 
-quit = (browser, notify_sauce_labs, done) ->
+quit = (browser, failures, notify_sauce_labs, done) ->
   browser.quit (err)->
     should.not.exist err
     

  ctx.afterAll (done)->

    if not coverage
      return quit browser, notify_sauce_labs, done

    console.log '\n-----\nGenerating test coverage\n-----'


      should.not.exist err
      should.exist coverage
      post_coverage base_url, coverage, ->
        quit browser, failures, notify_sauce_labs, done

  ctx.beforeEach ->
    passed = false
