diff options
Diffstat (limited to 'test/soap')
-rw-r--r-- | test/soap/marshal/test_marshal.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb index 846619523c..5cc30a2b5d 100644 --- a/test/soap/marshal/test_marshal.rb +++ b/test/soap/marshal/test_marshal.rb @@ -1,7 +1,13 @@ require 'test/unit' require 'soap/marshal' -require File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby/marshaltestlib') - +dir = File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby') +orgpath = $:.dup +begin + $:.push(dir) + require 'marshaltestlib' +ensure + $:.replace(orgpath) +end module SOAP module Marshal |