       world: "Canada!"
     ]
 
-    expected = jQuery(
-     '<div>
+    expected = $ """
+      <div>
         <div class="container">
           <div>
             <span class="hello">Hello</span>

if typeof module != 'undefined' && module.exports
  require './spec_helper'
  require '../src/transparency'

describe "Transparency", ->

  it "cache templates", ->
    doc = jQuery(
     '<div>
        <div class="container">
          <div>
            <span class="hello"></span>
            <span class="world"></span>
          </div>
        </div>
      </div>')

    data = [
      hello: "Hello"

            <span class="world">Canada!</span>
          </div>
        </div>
      </div>
      """

    doc.find('.container').render(data)
    doc.find('.container').render(data)
