On Tue, Nov 10, 2009 at 04:58, Joshua Peek <[email protected]> wrote:

>
> The failing default route tests are a problem with your test fixtures. Now
> you must define
> "FooController" if you are going route to it. Or you can
> use with_controllers! ['foo', ...].
>

Thanks. I put this before my routes declaration:

    ActionController::Routing.use_controllers!(%w(foo baz))

I also suggest you use with_routing do |set| instead of editing the
> AC::Routing::Routes global since it will be going away soon.


I can't use `with_routing`, I'm not using ActionController::TestProcess as
my tests don't need a real request/response cycle, only view rendering and
URL generation.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to