diff --git a/test/haml/templates/partial_layout.haml b/test/haml/templates/partial_layout.haml index ab4999f0..766507f4 100644 --- a/test/haml/templates/partial_layout.haml +++ b/test/haml/templates/partial_layout.haml @@ -1,5 +1,8 @@ %h1 Partial layout used with for block: -- if Haml::Util.ap_geq_3? +- if Haml::Util.ap_geq?("3.2.0.alpha1") + = render :layout => 'layout_for_partial' do + %p Some content within a layout +- elsif Haml::Util.ap_geq_3? = render :layout => 'layout_for_partial.haml' do %p Some content within a layout - else