Added unit tests for required config.yaml settings.

This commit is contained in:
soh_cah_toa
2013-07-15 02:07:26 -04:00
parent 123c3cdc04
commit 3865aab7ee

View File

@@ -36,8 +36,10 @@ class TC_Dns < Test::Unit::TestCase
DataMapper.auto_migrate!
end
def test_nothing
assert(true)
# Checks for required settings in config file
def test_1_config
assert(@@dns_config.has_key?('address'))
assert(@@dns_config.has_key?('port'))
end
end