mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't worry about attribute ordering
This commit is contained in:
parent
07fe3370f8
commit
425382d95f
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ class AtomFeedTest < Test::Unit::TestCase
|
|||
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 a new issue