diff options
Diffstat (limited to 'test/soap')
-rw-r--r-- | test/soap/calc/test_calc.rb | 2 | ||||
-rw-r--r-- | test/soap/calc/test_calc2.rb | 2 | ||||
-rw-r--r-- | test/soap/helloworld/test_helloworld.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/soap/calc/test_calc.rb b/test/soap/calc/test_calc.rb index c917ddcf9e..f308977561 100644 --- a/test/soap/calc/test_calc.rb +++ b/test/soap/calc/test_calc.rb @@ -1,7 +1,7 @@ require 'test/unit' require 'soap/rpc/driver' -dir = File.dirname(__FILE__) +dir = File.dirname(File.expand_path(__FILE__)) $:.push(dir) require 'server.rb' $:.delete(dir) diff --git a/test/soap/calc/test_calc2.rb b/test/soap/calc/test_calc2.rb index c066d374fb..457e770cc4 100644 --- a/test/soap/calc/test_calc2.rb +++ b/test/soap/calc/test_calc2.rb @@ -1,7 +1,7 @@ require 'test/unit' require 'soap/rpc/driver' -dir = File.dirname(__FILE__) +dir = File.dirname(File.expand_path(__FILE__)) $:.push(dir) require 'server2.rb' $:.delete(dir) diff --git a/test/soap/helloworld/test_helloworld.rb b/test/soap/helloworld/test_helloworld.rb index 7261e42f19..9f6ed275ef 100644 --- a/test/soap/helloworld/test_helloworld.rb +++ b/test/soap/helloworld/test_helloworld.rb @@ -1,7 +1,7 @@ require 'test/unit' require 'soap/rpc/driver' -dir = File.dirname(__FILE__) +dir = File.dirname(File.expand_path(__FILE__)) $:.push(dir) require 'hw_s.rb' $:.delete(dir) |