           meta charset: "utf-8"
           title "Tower.js - Full Stack JavaScript Framework for Node.js and the Browser"
         body role: "application", ->
-      
+
     view.render template: template, (error, result) ->
       assert.equal result, """
 <!DOCTYPE html>

describe 'Tower.View', ->
  beforeEach ->
    view = new Tower.View
    
  test 'layout', ->
    template = ->
      doctype 5


"""

  test 'yields', ->

describe 'Tower.View eco template', ->
  beforeEach ->
    Tower.View.engine = "eco"
    view = new Tower.View

  test 'eco layout', ->
    template = -> """
      <% div = (contents) => %>
        <div><%- contents %></div>
      <% end %>
      <%= div "Hello" %>
"""
    view.render template: template, (error, result) ->
      assert.equal result, """
<div>Hello</div>

"""
