 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')
+RootsUtil  = require "roots-util"
 _roots     = path.join(_fixtures, 'roots')
 _projects  = {
   url: path.join(_roots, "url"),

    describe 'compiled template', ->

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

  describe 'data', ->



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', ->

