This project is archived and is in readonly mode.
URL helpers in functional tests aren't escaping ampersands by default
Reported by orangechicken | May 13th, 2008 @ 08:22 AM
Given a resource Thing, things_path(:param1 => 123, :param2 => 456) should output /things/?param1=123&param2=456, however, with 2.0.2, the url helpers in a functional test outputs /things/?param1=123¶m2=456.
The url helpers in ActionPack do it right so this can make tests fail, for example, when using assert_select to test that a form has the right action.
Comments and changes to this ticket
-
josh July 17th, 2008 @ 01:16 AM
- State changed from new to stale
- Tag cleared.
Closing this ticket as stale. If this is still an issue for you, feel free to reopen this ticket or create a new one with an updated description. Remember those unit tests too ;)
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>