# File test/test_params.rb, line 1494 def test_args init_arguments 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 } ], @entry.args) assert_equal(1, @arg_info_alist_call) assert_equal('Foo', @arg_info_alist_name) @entry.args.clear 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 } ], @entry.args) end