[rspec-users] Accessing content_for html in view specs?

Tom Stuart tom at experthuman.com
Mon Jul 16 07:11:57 EDT 2007

On 16 Jul 2007, at 12:02, Marcus Crafter wrote:
> <% content_for :blah do %> ..... <% end %>
> Has anyone worked out a way to be able to access the html that's
> generated inside those blocks?

It ends up in @content_for_blah, doesn't it?

More information about the rspec-users mailing list