Topic: Include layout when writing view rspecs?
Is there any easy way to render the whole layout (i.e. including application.html.erb and everything it renders) when doing a view spec?
My view development style has tended more and more towards storing things with content_for to be rendered by the app layout, or setting variables that alter the way the app layout does things.
This means that large parts of my view never actually get rendered when i write a view rspec that calls "render 'controller/action'", so I can't spec them easily.
I'd like to just render the whole stack, including the layout, and spec the results of that.