f302b8a410f0ce563993f935336aaf92e698b85d
[chise/ruby.git] / test / test-config.rb
1 #!/usr/bin/env ruby
2 # Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
3 # This file is in SJIS charset.  Japanese Character -> \8a¿\8e\9a.
4
5 require "common"
6
7 class Test_Config < Test::Unit::TestCase
8   def test_config
9     @config = CHISE::Config.instance
10     assert_match(%r|/chise\Z|,          @config.base_dir.to_s)
11     assert_match(%r|/chise/char-db\Z|,  @config.db_dir.to_s)
12     assert_match(%r|/chise/ids\Z|,      @config.ids_dir.to_s)
13   end
14 end