test/test_slow_server.rb in rubydns-0.8.1 vs test/test_slow_server.rb in rubydns-0.8.4
- old
+ new
@@ -27,13 +27,11 @@
require 'process/daemon'
class SlowServer < Process::Daemon
SERVER_PORTS = [[:udp, '127.0.0.1', 5330], [:tcp, '127.0.0.1', 5330]]
- @@base_directory = File.dirname(__FILE__)
-
def working_directory
- File.join(__dir__, "tmp")
+ File.expand_path("../tmp", __FILE__)
end
IN = Resolv::DNS::Resource::IN
def startup