[rspec-users] content_for

Kyle Hargraves
Wed, 23 May 2007 15:00:24 -0000

Any ideas how I would go about writing specs for views which make use
of content_for?

I''d like, for example, to be able to specify that ABC view places XYZ
in the sidebar, which I do using content_for(:sidebar).

Am I missing something obvious?

Kyle