Permalink
Browse files

Don't worry about attribute ordering

  • Loading branch information...
jeremy committed Nov 7, 2008
1 parent 110c044 commit 99648c96721586b6dcdc1c0a9d5963991169b548
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/test/template/atom_feed_helper_test.rb
@@ -253,7 +253,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

0 comments on commit 99648c9

Please sign in to comment.