aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/tag_helper_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/test/template/tag_helper_test.rb b/actionpack/test/template/tag_helper_test.rb
index 0ebdf009c7..23992ee630 100644
--- a/actionpack/test/template/tag_helper_test.rb
+++ b/actionpack/test/template/tag_helper_test.rb
@@ -7,8 +7,9 @@ class TagHelperTest < Test::Unit::TestCase
include ActionView::Helpers::CaptureHelper
def test_tag
- assert_equal "<p class=\"show\" />", tag("p", "class" => "show")
- assert_equal tag("p", "class" => "show"), tag("p", :class => "show")
+ assert_equal "<br />", tag("br")
+ assert_equal "<br clear=\"left\" />", tag(:br, :clear => "left")
+ assert_equal "<br>", tag("br", nil, true)
end
def test_tag_options