# File test/test_params.rb, line 1694 def test_to_hash @store['filters'] = [ { 'filter' => 'Foo', 'arguments' => [ 'foo', 'bar' ], 'attach_path' => '/attach_path', 'attach_mask' => /attach_mask/, 'virtual_host' => 'www.foo.org', 'comment' => "Comment.\n" } ] @filter_list.load(self) assert_equal({ 'filter' => 'Foo', 'arguments' => [ 'foo', 'bar' ], 'attach_path' => '/attach_path', 'attach_mask' => /attach_mask/, 'virtual_host' => 'www.foo.org', 'comment' => "Comment.\n" }, @filter_list[0].to_hash) end