haml-edge 2.3.12 → 2.3.13

Sign up to get free protection for your applications and to get access to all the features.
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.12
1
+ 2.3.13
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.12
1
+ 2.3.13
@@ -140,10 +140,16 @@ class TemplateTest < Test::Unit::TestCase
140
140
  end
141
141
 
142
142
  def test_action_view_templates_render_correctly
143
- @base.with_output_buffer("") do
143
+ proc = lambda do
144
144
  @base.content_for(:layout) {'Lorem ipsum dolor sit amet'}
145
145
  assert_renders_correctly 'content_for_layout'
146
146
  end
147
+
148
+ if @base.respond_to?(:with_output_buffer)
149
+ @base.with_output_buffer("", &proc)
150
+ else
151
+ proc.call
152
+ end
147
153
  end
148
154
 
149
155
  def test_instance_variables_should_work_inside_templates
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.12
4
+ version: 2.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum