# File test/test_params.rb, line 1358 def test_args @attrs['arguments'] = [ '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 } ] 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) @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