On Apr 15, 12:48 pm, BarryOg <[email protected]> wrote:

> Anyone know if it was a deliberate design decision not to test the
> ApplicationController or if there was a reason it couldn't be done?  Or even
> better if there's a way to test it?

Assuming for a moment (and I don't know if this is true) that you
can't test application controller directly, there's no reason you
cannot create a subclass of ApplicationController that only exists in
your test and which you use to exercise the methods provided by
ApplicationController.

Fred

-- 
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