aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-07 17:45:10 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-07 21:21:10 -0500
commit425382d95fbc93efde52c7a1c369f3fbcba70b2e (patch)
tree346231b8ebce5ac2bcae770717fd439768c729d1
parent07fe3370f8abe49b4c055d4eb8c39f1e73847eea (diff)
downloadrails-425382d95fbc93efde52c7a1c369f3fbcba70b2e.tar.gz
rails-425382d95fbc93efde52c7a1c369f3fbcba70b2e.tar.bz2
rails-425382d95fbc93efde52c7a1c369f3fbcba70b2e.zip
Don't worry about attribute ordering
-rw-r--r--actionpack/test/template/atom_feed_helper_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/template/atom_feed_helper_test.rb b/actionpack/test/template/atom_feed_helper_test.rb
index 9247a42d33..06af8d1d6a 100644
--- a/actionpack/test/template/atom_feed_helper_test.rb
+++ b/actionpack/test/template/atom_feed_helper_test.rb
@@ -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