# File test/test_params.rb, line 1335 def test_init @entry.init('Foo') assert_equal(1, @name_tag_call) assert_equal(1, @name_list_call) assert_equal('Foo', @attrs['document']) assert_equal(1, @arg_info_alist_call) assert_equal('Foo', @arg_info_alist_name) assert_equal([ 'hi', # string nil, # password '<html>Hello world.</html>', # text 0, # number /foo/, # regexp true, # bool 'foo', # select 'foo', # radio { 'foo'=> false, # checkset 'bar' => false, 'baz' => false } ], @attrs['arguments']) end