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.

assert_select doesn't work with utf-8 on Ruby 1.9.2

#4518

See attached test case

Reported by Sam Ruby · May 1st, 2010 @ 03:33 PM

State: resolved
Milestone: 3.0.2
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: none

Activity

  1. Dan Pickett
    Dan Pickett
    • Tag changed from assert_select, utf8 to assert_select, bugmash, utf8

    can someone assist in creating core test cases and an applicable patch in accordance with http://rails.lighthouseapp.com/projects/8994/sending-patches

    May 9th, 2010 @ 06:25 PM

  2. xinuc
    xinuc

    not working with 1.9.1 too

    May 15th, 2010 @ 01:36 PM

  3. Craig Krigsman
    Craig Krigsman

    +1 confirmed. Test of Sam's code against various Ruby versions.

    1.8.7 - Passed
    1.9.1 - Failed
    1.9.2 - Failed

    May 15th, 2010 @ 10:20 PM

  4. Sasha Koss
    Sasha Koss

    Attached patch fix this problem (tested in 1.9.2 and 1.8.7)

    May 16th, 2010 @ 02:03 AM

  5. Sasha Koss
    Sasha Koss
    • Assigned user set to José Valim

    May 16th, 2010 @ 03:31 AM

  6. omarqureshi
    omarqureshi

    +1 for this patch, works in 1.9.1 too

    May 21st, 2010 @ 04:51 PM

  7. DHH
    DHH
    • Milestone cleared.
    • State changed from new to open
    • Assigned user changed from José Valim to Yehuda Katz (wycats)

    June 1st, 2010 @ 09:44 PM

  8. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • State changed from open to resolved

    June 7th, 2010 @ 10:18 PM

  9. Jeremy Kemper