Don't worry about attribute ordering
This commit is contained in:
parent
07fe3370f8
commit
425382d95f
@ -255,7 +255,8 @@ def test_feed_should_allow_overriding_ids
|
||||
def test_feed_xml_processing_instructions
|
||||
with_restful_routing(:scrolls) do
|
||||
get :index, :id => 'feed_with_xml_processing_instructions'
|
||||
assert_match %r{<\?xml-stylesheet type="text/css" href="t.css"\?>}, @response.body
|
||||
assert_match %r{<\?xml-stylesheet [^\?]*type="text/css"}, @response.body
|
||||
assert_match %r{<\?xml-stylesheet [^\?]*href="t.css"}, @response.body
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user