From 4699c336f7fda526373218235c5067583b89c1c6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 5 Aug 2006 21:38:03 +0000 Subject: Make test_tag_options pass (closes #5600) [shugo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/tag_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 "

", tag("p", "class" => "show", :class => "elsewhere") + assert_match /\A

\z/, tag("p", "class" => "show", :class => "elsewhere") end def test_tag_options_rejects_nil_option -- cgit v1.2.3