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

  jade_path = path.join root, 'sandbox/jade'

  it 'should compile jade view templates', (done) ->
    run "cd #{jade_path}; ../../../bin/roots compile --no-compress", ->
      fs.existsSync(path.join(jade_path, 'public/index.html')).should.be.ok
      shell.rm '-rf', path.join(jade_path, 'public')
      done()

  dynamic_path = path.join root, 'sandbox/dynamic'

  before (done) ->
    run "cd \"#{dynamic_path}\"; ../../../bin/roots compile --no-compress", ->
      done()

  it 'compiles dynamic files', ->
