Index: test/cgi/test_cgi_tag_helper.rb =================================================================== --- test/cgi/test_cgi_tag_helper.rb (revision 18861) +++ test/cgi/test_cgi_tag_helper.rb (working copy) @@ -237,6 +237,74 @@ assert_equal('',cgi.caption('bar')) assert_equal('foo',cgi.caption{'foo'}) assert_equal('foo',cgi.caption('bar'){'foo'}) + assert_equal('',cgi.img) + assert_equal('',cgi.img('bar')) + assert_equal('',cgi.img{'foo'}) + assert_equal('',cgi.img('bar'){'foo'}) + assert_equal('',cgi.base) + assert_equal('',cgi.base('bar')) + assert_equal('',cgi.base{'foo'}) + assert_equal('',cgi.base('bar'){'foo'}) + assert_equal('',cgi.basefont) + assert_equal('',cgi.basefont('bar')) + assert_equal('',cgi.basefont{'foo'}) + assert_equal('',cgi.basefont('bar'){'foo'}) + assert_equal('
',cgi.br) + assert_equal('
',cgi.br('bar')) + assert_equal('
',cgi.br{'foo'}) + assert_equal('
',cgi.br('bar'){'foo'}) + assert_equal('',cgi.area) + assert_equal('',cgi.area('bar')) + assert_equal('',cgi.area{'foo'}) + assert_equal('',cgi.area('bar'){'foo'}) + assert_equal('',cgi.link) + assert_equal('',cgi.link('bar')) + assert_equal('',cgi.link{'foo'}) + assert_equal('',cgi.link('bar'){'foo'}) + assert_equal('',cgi.param) + assert_equal('',cgi.param('bar')) + assert_equal('',cgi.param{'foo'}) + assert_equal('',cgi.param('bar'){'foo'}) + assert_equal('
',cgi.hr) + assert_equal('
',cgi.hr('bar')) + assert_equal('
',cgi.hr{'foo'}) + assert_equal('
',cgi.hr('bar'){'foo'}) + assert_equal('',cgi.input) + assert_equal('',cgi.input('bar')) + assert_equal('',cgi.input{'foo'}) + assert_equal('',cgi.input('bar'){'foo'}) + assert_equal('',cgi.isindex) + assert_equal('',cgi.isindex('bar')) + assert_equal('',cgi.isindex{'foo'}) + assert_equal('',cgi.isindex('bar'){'foo'}) + assert_equal('',cgi.meta) + assert_equal('',cgi.meta('bar')) + assert_equal('',cgi.meta{'foo'}) + assert_equal('',cgi.meta('bar'){'foo'}) + assert_equal('',cgi.html) + assert_equal('foo',cgi.html{'foo'}) + assert_equal('',cgi.head) + assert_equal('foo',cgi.head{'foo'}) + assert_equal('',cgi.body) + assert_equal('foo',cgi.body{'foo'}) + assert_equal('

',cgi.p) + assert_equal('

foo

',cgi.p{'foo'}) + assert_equal('',cgi.plaintext) + assert_equal('<PLAINTEXT>foo</PLAINTEXT>',cgi.plaintext{'foo'}) + assert_equal('<DT>',cgi.dt) + assert_equal('<DT>foo</DT>',cgi.dt{'foo'}) + assert_equal('<DD>',cgi.dd) + assert_equal('<DD>foo</DD>',cgi.dd{'foo'}) + assert_equal('<LI>',cgi.li) + assert_equal('<LI>foo</LI>',cgi.li{'foo'}) + assert_equal('<OPTION>',cgi.option) + assert_equal('<OPTION>foo</OPTION>',cgi.option{'foo'}) + assert_equal('<TR>',cgi.tr) + assert_equal('<TR>foo</TR>',cgi.tr{'foo'}) + assert_equal('<TH>',cgi.th) + assert_equal('<TH>foo</TH>',cgi.th{'foo'}) + assert_equal('<TD>',cgi.td) + assert_equal('<TD>foo</TD>',cgi.td{'foo'}) end =begin