Re: [rspec-users] booting rails routing without a controller call

2008-09-12 Thread Matt Wynne
Worked perfectly, thank you. By moving our routes config into lib/routing/default_routes.rb, I can also get autotest to watch the file for changes - double bonus! On 12 Sep 2008, at 17:21, David Chelimsky wrote: On Fri, Sep 12, 2008 at 11:17 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: We're

Re: [rspec-users] booting rails routing without a controller call

2008-09-12 Thread David Chelimsky
On Fri, Sep 12, 2008 at 11:17 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > We're getting into some quite complex routing, and I'd like to be able to > spec the routing on its own. > All our controllers tend to have a little call to like this to boot up the > routing before testing params_from etc: >

[rspec-users] booting rails routing without a controller call

2008-09-12 Thread Matt Wynne
We're getting into some quite complex routing, and I'd like to be able to spec the routing on its own. All our controllers tend to have a little call to like this to boot up the routing before testing params_from etc: get :index However I can't get this to work in a spec that doesn