[rspec-users] content_for

Kyle Hargraves philodespotos at gmail.com
Wed May 23 11:00:24 EDT 2007


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


More information about the rspec-users mailing list