summaryrefslogtreecommitdiff
path: root/test/unit/config_test.rb
blob: 545beddf13093523ede20993366e06757144869b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'test_helper'
require 'lib/config'

class ConfigTest < MiniTest::Unit::TestCase

  def setup
    @config = LeapCA::Config.new(File.expand_path("../config.yml", __FILE__))
  end

  def test_initial_content
    assert_equal 'test-server', @config.server
    assert_equal 'test-db', @config.database
  end
end