Permalink
Browse files

Trying to reproduce locals issue [#54]

  • Loading branch information...
1 parent 9f72e74 commit 36d659bf0e8fdcd76f129be102736e6c9f5b7f15 @winton committed Jul 3, 2012
@@ -0,0 +1 @@
+= render :path => '_locals.html.haml', :locals => { :x => true }
@@ -0,0 +1 @@
+= render :path => '_locals.html.haml', :locals => { :x => true }
@@ -28,4 +28,12 @@
it "should render locals into subdirectory/before_render_locals.html" do
$files['subdirectory/before_render_locals.html'].should =~ /true/
end
+
+ it "should render locals into render_locals.html" do
+ $files['render_locals.html'].should =~ /true/
+ end
+
+ it "should render locals into subdirectory/render_locals.html" do
+ $files['subdirectory/render_locals.html'].should =~ /true/
+ end
end

0 comments on commit 36d659b

Please sign in to comment.