   errors_path = path.join root, 'sandbox/errors'
 
   it 'notifies you if theres an error', (done) ->
-    run "cd #{errors_path}; ../../../bin/roots compile --no-compress", (a,b,stderr) ->
+    run "cd \"#{errors_path}\"; ../../../bin/roots compile --no-compress", (a,b,stderr) ->
       stderr.should.match /ERROR/
       done()
 

  describe 'compile', -> # ----------------------------------------------------------------

    before (done) ->
      run "cd #{basic_root}; ../../../bin/roots compile", done

    it 'should compile files to /public', ->
      fs.readdirSync(path.join(basic_root, 'public')).should.have.lengthOf(5)

  describe 'js', -> # ---------------------------------------------------------------------

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

