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.

URL helpers in functional tests aren't escaping ampersands by default

#179

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.

Reported by orangechicken · May 13th, 2008 @ 08:22 AM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. josh
    josh
    • 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 ;)

    July 17th, 2008 @ 01:16 AM