summaryrefslogtreecommitdiff
path: root/test/xmlrpc
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
commit48d402db88caa3e3d908a8691c421cf66f65a1de (patch)
tree3c2dc4d40152247d6285d068f500891f8ec6c897 /test/xmlrpc
parent4dfd71005cf4ee14db965cd155417f8657ed2c24 (diff)
use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 c1be5c5..472027e 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 192b5a7..8a37cde 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'