 
     describe.onServer '[filename]', ->
         it 'supports .coffee files', ->
-            view = View.fromHTML uid(), """
+            view = Document.fromHTML uid(), """
                 <neft:script filename="a.coffee"><![CDATA[
                     module.exports = class A
                         constructor: ->
                             @a = 1
                 ]]></neft:script>
             """
-            View.parse view
+            Document.parse view
             view = view.clone()
 
             renderParse view

            <neft:blank>${this.a}</neft:blank>
        """

        source = View.fromHTML viewPath, viewStr
        View.parse source
        view = source.clone()

        renderParse view


fs = require 'fs'
os = require 'os'
{assert, utils, unit, Document} = Neft
{describe, it} = unit
{createView, renderParse, uid} = require './utils'

