Changeset 1039
- Timestamp:
- 11/13/03 23:47:23 (5 years ago)
- Files:
-
- trunk/test/wsdl/marshal/test_wsdlmarshal.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/test/wsdl/marshal/test_wsdlmarshal.rb
r997 r1039 44 44 class TestWSDLMarshal < Test::Unit::TestCase 45 45 def pathname(filename) 46 File.join(File.dirname( __FILE__), filename)46 File.join(File.dirname(File.expand_path(__FILE__)), filename) 47 47 end 48 48 … … 58 58 def test_classdef 59 59 raise if File.exist?("Person.rb") 60 system("ruby #{pathname("../../ bin/wsdl2ruby.rb")} --classdef --wsdl #{pathname("person.wsdl")} --force")60 system("ruby #{pathname("../../../bin/wsdl2ruby.rb")} --classdef --wsdl #{pathname("person.wsdl")} --force") 61 61 person_org = File.open(pathname("person_org.rb")).read 62 62 person_new = File.open("Person.rb").read