From b1c14f8fbb15ddb1c44d169dee67bb32f903bfa9 Mon Sep 17 00:00:00 2001 From: xibbar Date: Fri, 24 Oct 2008 12:10:27 +0000 Subject: * lib/cgi/html.rb: allow symbolized key. * test/cgi/test_cgi_tag_helper.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/cgi/test_cgi_tag_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/cgi/test_cgi_tag_helper.rb b/test/cgi/test_cgi_tag_helper.rb index 618130b822..f28146a026 100755 --- a/test/cgi/test_cgi_tag_helper.rb +++ b/test/cgi/test_cgi_tag_helper.rb @@ -318,6 +318,7 @@ class CGITagHelperTest < Test::Unit::TestCase assert_match(/^bbdd$/,str) assert_match(/^bbdd$/,str) assert_match(/^bbdd$/,str) + assert_match(//,cgi.text_field(:name=>"name",:value=>"value")) if RUBY_VERSION>="1.9" str=cgi.radio_group("foo",["aa","bb"],["cc","dd",false]) assert_match(/^bbdd$/,str) -- cgit v1.2.3