Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

jemminger's latest activity

Wednesday, April 21 2010
4446 multiple nested routes for same resource doesn't work in functional tests? was updated in Ruby on Rails
  • jemminger
    jemminger commented at 2:14 PM

    Doh, you're right. Changing the tests like so fixes it:

    test 'should get foo' do
      get :foo, :client_id => 1
      assert_response :success
    end
    
    test 'should get b...
  • jemminger
    • Title changed from multiple nested routes for same route doesn't work in functional tests? to multiple nested routes for same resource doesn't work in functional tests?
    by jemminger at 2:25 AM
  • jemminger
    • Tag set to routing error, functional, routingerror, testing
    by jemminger at 2:19 AM
  • jemminger
    jemminger created the ticket at 2:15 AM

    Say I have routes like so:

    ActionController::Routing::Routes.draw do |map|
    
      map.resources :tabs do |tab|
        tab.resources :contacts, :collection => {
          ...