This seems to work
*http://bjhess.com/blog/2008/04/27/five-rails-tips/

*found by google for assert_layout

Colin


2009/4/7 Jarl Friis <[email protected]>

>
> Hi.
>
> Can any test-guru help me on this one.
>
> How do I (in my functional test) that a specific controller/action
> uses a certain layout?
>
> I would like to see something similar to assert_template (for
> asserting a specific view), but for layouts.
>
> How do you guys test use of a specific layout?
>
> Jarl
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to