# File test/test_params.rb, line 1398 def test_to_hash @store['documents'] = [ { 'document' => 'Foo', 'arguments' => [ 'foo', 'bar' ], 'mount_path' => '/mount_path', 'mount_mask' => /mount_mask/, 'virtual_host' => 'virtual_host', 'comment' => "Comment.\n" } ] @doc_list.load(self) assert_equal({ 'document' => 'Foo', 'arguments' => [ 'foo', 'bar' ], 'mount_path' => '/mount_path', 'mount_mask' => /mount_mask/, 'virtual_host' => 'virtual_host', 'comment' => "Comment.\n" }, @doc_list[0].to_hash) end