-if typeof module != 'undefined' && module.exports
-  require './spec_helper'
-  require '../src/transparency'
-
 describe "Transparency", ->
 
   it "cache templates", ->
-    doc = jQuery(
-     '<div>
+    doc = $ """
+      <div>
         <div class="container">
           <div>
             <span class="hello"></span>
             <span class="world"></span>
           </div>
         </div>
-      </div>')
+      </div>
+      """
 
     data = [
       hello: "Hello"

      world: "Canada!"
    ]

    expected = jQuery(
     '<div>
        <div class="container">
          <div>
            <span class="hello">Hello</span>

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

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