   it 'notifies you if theres an error', (done) ->
     run "cd \"#{errors_path}\"; ../../../bin/roots compile --no-compress", (a,b,stderr) ->
       stderr.should.match /ERROR/
+      shell.rm '-rf', path.join(errors_path, 'public')
       done()
 
 describe 'dynamic content', ->

        out.replace(/\n/, '').should.eql(version)
        done()

  describe 'js', -> # ---------------------------------------------------------------------
    it 'should expose bower\'s interface', (done) ->
      run "cd \"#{basic_root}\"; ../../../bin/roots js", (err,out, stdout) ->
        out.should.match /bower/
        done()

describe 'compiler', ->

fs = require 'fs'
colors = require 'colors'
shell = require 'shelljs'
config = require '../lib/global_config'
run = require('child_process').exec
root = path.join __dirname
basic_root = path.join root, 'sandbox/basic'
