This project is archived and is in readonly mode.
Remove excess mocking from polymorphic_url tests
Reported by CancelProfileIsBroken | March 24th, 2009 @ 11:03 PM | in 2.x
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.
Comments and changes to this ticket
-
Repository April 21st, 2009 @ 02:34 PM
- 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...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 2330 Remove excess mocking from polymorphic_url tests (from [398b07e655b6f643f31fb47b3cf7bc2dba009dc7]) Remove ...