<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/haml/results/partial_layout.xhtml</filename>
    </added>
    <added>
      <filename>test/haml/templates/_layout_for_partial.haml</filename>
    </added>
    <added>
      <filename>test/haml/templates/partial_layout.haml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -18,11 +18,17 @@ module Haml::Helpers
   end
 end
 
+class DummyController
+  def self.controller_path
+    ''
+  end
+end
+
 class TemplateTest &lt; Test::Unit::TestCase
   TEMPLATE_PATH = File.join(File.dirname(__FILE__), &quot;templates&quot;)
   TEMPLATES = %w{         very_basic        standard    helpers
     whitespace_handling   original_engine   list        helpful
-    silent_script         tag_parsing       just_stuff  partials
+    silent_script         tag_parsing       just_stuff  partials  partial_layout
     filters               nuke_outer_whitespace         nuke_inner_whitespace }
 
   def setup
@@ -49,6 +55,8 @@ class TemplateTest &lt; Test::Unit::TestCase
     
     # filters template uses :sass
     Sass::Plugin.options.update(:line_comments =&gt; true, :style =&gt; :compact)
+    
+    @base.controller = DummyController.new
   end
 
   def render(text)</diff>
      <filename>test/haml/template_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bcc94e60df2f86d69836df38f5b9b6b5bee76c76</id>
    </parent>
  </parents>
  <author>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </author>
  <url>http://github.com/mislav/haml/commit/bdfe0fc4cf5cdeb0a8688159486e15cd225ab5ea</url>
  <id>bdfe0fc4cf5cdeb0a8688159486e15cd225ab5ea</id>
  <committed-date>2008-09-21T15:31:55-07:00</committed-date>
  <authored-date>2008-09-21T15:31:55-07:00</authored-date>
  <message>add a template test with partial layout rendering</message>
  <tree>8d9b1a65abf45c713b4e6b9b4019adf4c01867cb</tree>
  <committer>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </committer>
</commit>
