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.

This project is archived and is in readonly mode.

Remove excess mocking from polymorphic_url tests

#2330

The current tests for polymorphic_url rely on mocking everything, which is proving to be an issue - it makes it hard to extend the tests to cover tickets such as #411 and #1231. Attached patch reworks these tests to let us specify actual routes, which will enable moving forward on those other tickets.

Reported by CancelProfileIsBroken · March 24th, 2009 @ 11:03 PM

State: resolved
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. CancelProfileIsBroken
    CancelProfileIsBroken

    Revised patch after feedback from Pratik.

    March 25th, 2009 @ 12:22 AM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [398b07e655b6f643f31fb47b3cf7bc2dba009dc7]) Remove excess mocking from polymorphic_url tests [#2330 state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    April 21st, 2009 @ 02:34 PM