1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-12-22 00:54:22 +01:00

Fix tests

This commit is contained in:
cn 2013-04-27 22:10:47 +02:00
parent b477f4491e
commit b5481efdcb
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,8 @@
A small, lightweight and extensible DynDNS server written with Ruby and Rack. A small, lightweight and extensible DynDNS server written with Ruby and Rack.
## License ## License
dyndnsd.rb is licensed under the Apache License, Version 2.0. See LICENSE for more information. dyndnsd.rb is licensed under the Apache License, Version 2.0. See LICENSE for more information.

View File

@ -4,6 +4,9 @@ describe Dyndnsd::Daemon do
include Rack::Test::Methods include Rack::Test::Methods
def app def app
Dyndnsd.logger = Logger.new(STDOUT)
Dyndnsd.logger.level = Logger::UNKNOWN
config = { config = {
'domain' => 'example.org', 'domain' => 'example.org',
'users' => { 'users' => {