       config.parse()
 
     it 'error should be shown when css\'s output dir does not exist', (done)->
-      out = err = 0
+      out = 0
       err_msg = 'error CSS\'s output dir does not exist ~> non/existent/folder'
 
       global.__stdout = (data)-> out++


  describe '[key:server]', ->
    it 'error should be shown when server key is not set and -s is in use', (done)->
      out = err = 0
      err_msg = 'error Server\'s config not set in config file'

      global.global_options.server = true

      config.parse()

      global.global_options['config-file'] = null
      delete global.global_options

  describe '[option:base]', ->
    it 'error should be shown when informed base dir does not exist', (done)->
      out = 0
      error_msgs = [
        'error Dir informed with [--base] option doesn\'t exist ~> non/existent/folder'
        'error Config file not found ~> '
      ]

      global.global_options.base = 'non/existent/folder'
      global.__stdout = (data)-> out++
      global.__stderr = (data)->
        # console.log data
        out.should.equal 0
        data.should.equal error_msgs.shift()
        done() unless error_msgs.length

      config.parse()