diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-05 21:38:03 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-05 21:38:03 +0000 |
commit | 4699c336f7fda526373218235c5067583b89c1c6 (patch) | |
tree | 84d04ac710e564e44a45834ce13586b4d80c7f10 | |
parent | 8eaf479156a413b8c6e98649b6326c7baa010b43 (diff) | |
download | rails-4699c336f7fda526373218235c5067583b89c1c6.tar.gz rails-4699c336f7fda526373218235c5067583b89c1c6.tar.bz2 rails-4699c336f7fda526373218235c5067583b89c1c6.zip |
Make test_tag_options pass (closes #5600) [shugo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/test/template/tag_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/tag_helper_test.rb b/actionpack/test/template/tag_helper_test.rb index 7993afbf10..b45be96959 100644 --- a/actionpack/test/template/tag_helper_test.rb +++ b/actionpack/test/template/tag_helper_test.rb @@ -13,7 +13,7 @@ class TagHelperTest < Test::Unit::TestCase end def test_tag_options - assert_equal "<p class=\"elsewhere\" />", tag("p", "class" => "show", :class => "elsewhere") + assert_match /\A<p class="(show|elsewhere)" \/>\z/, tag("p", "class" => "show", :class => "elsewhere") end def test_tag_options_rejects_nil_option |