test/fixtures/markup_app/views/content_for.erb in padrino-helpers-0.10.2 vs test/fixtures/markup_app/views/content_for.erb in padrino-helpers-0.10.3
- old
+ new
@@ -7,5 +7,8 @@
<% content_for :demo2 do |fname, lname| %>
<h1>This is content yielded with name <%= fname + " " + lname %></h1>
<% end %>
<div class='demo2'><%= yield_content :demo2, "Johnny", "Smith" %></div>
+
+<div class="demo_has_content"><%= content_for?(:demo).to_s %>
+<div class="fake_has_content"><%= content_for?(:fake).to_s %>
\ No newline at end of file