summaryrefslogtreecommitdiff
path: root/test/xmlrpc
diff options
context:
space:
mode:
Diffstat (limited to 'test/xmlrpc')
-rw-r--r--test/xmlrpc/test_cookie.rb2
-rw-r--r--test/xmlrpc/test_webrick_server.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/xmlrpc/test_cookie.rb b/test/xmlrpc/test_cookie.rb
index c1be5c5577..472027e3af 100644
--- a/test/xmlrpc/test_cookie.rb
+++ b/test/xmlrpc/test_cookie.rb
@@ -1,7 +1,7 @@
require 'test/unit'
require 'time'
require 'webrick'
-require File.join(File.dirname(__FILE__), 'webrick_testing')
+require_relative 'webrick_testing'
require "xmlrpc/server"
require 'xmlrpc/client'
diff --git a/test/xmlrpc/test_webrick_server.rb b/test/xmlrpc/test_webrick_server.rb
index 192b5a7651..8a37cdec91 100644
--- a/test/xmlrpc/test_webrick_server.rb
+++ b/test/xmlrpc/test_webrick_server.rb
@@ -1,6 +1,6 @@
require 'test/unit'
require 'webrick'
-require File.join(File.dirname(__FILE__), 'webrick_testing')
+require_relative 'webrick_testing'
require "xmlrpc/server"
require 'xmlrpc/client'