Permalink
Browse files

Don't worry about attribute ordering

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

0 comments on commit 425382d

Please sign in to comment.