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.

Select on XML-namespaced attributes in assert_select

#1547

assert_select cannot select on an attribute that is xml-namespaced (e.g. xlink:href='...'). The change is to add a colon to the HTML::Selector regexp for attributes. Patch with test included.

Reported by Jon Yurek · December 10th, 2008 @ 03:38 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved
    • Tag set to patch

    (from [272c2d2e9ca38a307878306bff4315183d1ae7ab]) Ensure assert_select works with XML namespaced attributes [#1547 Select on XML-namespaced attributes in assert_select state:resolved] [Jon Yurek] http://github.com/rails/rails/co...

    March 7th, 2009 @ 04:14 PM