 
   it 'should precompile a basic template', ->
     p = path.join(@public, 'tpl/all.js')
-    should.file_exist(p)
-    should.have_content(p)
+    h.file.exists(p).should.be.ok
+    h.file.has_content(p).should.be.ok
 
   it 'should still compile other templates normally', ->
     p = path.join(@public, 'index.html')
-    should.file_exist(p)
-    should.have_content(p)
+    h.file.exists(p).should.be.ok
+    h.file.has_content(p).should.be.ok
 
   it 'should compile templates under their local path key', ->
     p = path.join(@public, 'tpl/all.js')
-    should.contain(p, 'template1')
-    should.contain(p, 'cat/dog')
+    h.file.contains(p, 'template1').should.be.ok
+    h.file.contains(p, 'cat/dog').should.be.ok
 
   it 'not compile templates that would break a normal jade compile', ->
     p = path.join(@public, 'tpl/all.js')
-    should.contain(p, 'template2')
+    h.file.contains(p, 'template2').should.be.ok
 
 describe 'extract', ->
 


  it 'should compile templates separately if concat is false', ->
    p1 = path.join(@public, 'tpl/helper.js')
    should.file_exist(p1)
    should.have_content(p1)

    p2 = path.join(@public, 'tpl/template3.js')
    should.file_exist(p2)
    should.have_content(p2)

    p3 = path.join(@public, 'tpl/template4.js')
    should.file_exist(p3)
    should.have_content(p3)

describe 'no output', ->



  it 'should compile a template to both client and static if extract is false', ->
    p1 = path.join(@public, 'tpl/all.js')
    h.file.exists(p1).should.be.ok
    h.file.has_content(p1).should.be.ok

    p2 = path.join(@public, 'tpl/template2.html')
    h.file.exists(p2).should.be.ok
    h.file.has_content(p2).should.be.ok

describe 'concat', ->

