This project is archived and is in readonly mode.

#2330 ✓resolved
CancelProfileIsBroken

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

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

Referenced by

Pages