git clone works
[repobrowse.git] / test / test_config.rb
blob5253e62981a9e911d1569dfce65c514f7785c2a5
1 # Copyright (C) 2017 all contributors <repobrowse@80x24.org>
2 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
3 # frozen_string_literal: true
4 require_relative 'helper'
6 class TestConfig < Test::Unit::TestCase
7   def test_load_hash
8     config = {
9       'repo.git.path' => '/path/to/git.git',
10       'repo.repobrowse.path' => '/path/to/repobrowse.git',
11     }
12     config = Repobrowse::Config.new(config)
13     assert_instance_of Repobrowse::Config, config
14   end
15 end