diff options
Diffstat (limited to 'actionwebservice/test/ws/abstract_unit.rb')
-rw-r--r-- | actionwebservice/test/ws/abstract_unit.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionwebservice/test/ws/abstract_unit.rb b/actionwebservice/test/ws/abstract_unit.rb index f5015bea69..5d4f5ce856 100644 --- a/actionwebservice/test/ws/abstract_unit.rb +++ b/actionwebservice/test/ws/abstract_unit.rb @@ -1,6 +1,5 @@ -$:.unshift(File.dirname(File.dirname(__FILE__)) + '/../lib') -$:.unshift(File.dirname(File.dirname(__FILE__)) + '/../lib/action_web_service/vendor') -puts $:.inspect +require 'pathname' +$:.unshift(Pathname.new(File.dirname(__FILE__)).realpath.to_s + '/../../lib/action_web_service/vendor') require 'test/unit' require 'ws' begin |