[rspec-users] Accessing content_for html in view specs?
crafterm at redartisan.com
Mon Jul 16 07:14:44 EDT 2007
On 16/07/2007, at 9:11 PM, Tom Stuart wrote:
> 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?
I thought it did too, but that's a nil reference in the spec
More information about the rspec-users