test/test_truncation.rb in rubydns-0.8.1 vs test/test_truncation.rb in rubydns-0.8.4
- old
+ new
@@ -28,13 +28,11 @@
require 'process/daemon'
class TruncatedServer < Process::Daemon
SERVER_PORTS = [[:udp, '127.0.0.1', 5320], [:tcp, '127.0.0.1', 5320]]
- @@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