     describe 'compiled template', ->
 
       it "should have {foo: 'bar'} json", ->
-        @_.helpers.file.contains(path.join(@_.public, "index.html"), JSON.stringify({foo: "bar"})).should.be.ok
+        @_.helpers.file.contains(path.join("public", "index.html"), JSON.stringify({foo: "bar"})).should.be.ok
 
   describe 'invalid key', ->
 

fs         = require "fs"
glob       = require "glob"
W          = require "when"
RootsUtil  = require "roots-util"
nodefn     = require "when/node"
run        = require("child_process").exec
_fixtures  = path.join(__dirname, 'fixtures')
_roots     = path.join(_fixtures, 'roots')
_projects  = {
  url: path.join(_roots, "url"),


init_roots = (base_path, compile_callback) ->
  roots = new Roots(base_path)
  roots.compile()
    .on('done', compile_callback)
  { roots: roots, helpers: new RootsUtil.Helpers(base: base_path) }

describe 'records', ->

  before (done) ->
    helpers = new RootsUtil.Helpers(base: _fixtures)
    helpers.project.install_dependencies("*", done)

  describe 'url', ->

