Sha256: fd0ede70e7ae31bd3e39fd8f7cf92d2564f7c3e533410263140bac323b93be10
Contents?: true
Size: 511 Bytes
Versions: 29
Compression:
Stored size: 511 Bytes
Contents
class Views::CaptureSystemSpec::CaptureWidgetFromWidget < Fortitude::Widgets::Html5 def content widget_text_1 = capture do widget Views::CaptureSystemSpec::AnotherWidget.new(:name => "rendered_with_widget") end widget_text_2 = capture do render :partial => 'another_widget', :locals => { :name => "rendered_with_render_partial" } end text "Rendered with widget:" text widget_text_1 text "Rendered with render_partial:" text widget_text_2 text "END" end end
Version data entries
29 entries across 29 versions & 1 rubygems