diff options
-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 |