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('foo',cgi.plaintext{'foo'})
+ assert_equal('',cgi.dt)
+ assert_equal('foo',cgi.dt{'foo'})
+ assert_equal('',cgi.dd)
+ assert_equal('foo',cgi.dd{'foo'})
+ assert_equal('',cgi.li)
+ assert_equal('foo',cgi.li{'foo'})
+ assert_equal('',cgi.option{'foo'})
+ assert_equal('',cgi.tr)
+ assert_equal('
foo
',cgi.tr{'foo'})
+ assert_equal('',cgi.th)
+ assert_equal(' | foo | ',cgi.th{'foo'})
+ assert_equal('',cgi.td)
+ assert_equal(' | foo | ',cgi.td{'foo'})
end
=begin