1
0
Fork 0
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:
Jeremy Kemper 2008-11-07 17:45:10 -05:00
parent 07fe3370f8
commit 425382d95f

View file

@ -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