kihlbom at gmail.com
Mon Jun 4 09:18:22 EDT 2007
On 5/23/07, Kyle Hargraves <philodespotos at gmail.com> wrote:
> 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?
I have the same problem, several of my views use content_for to
populate a sidebar. How can I write examples for them?
More information about the rspec-users