summaryrefslogtreecommitdiff
path: root/test/wsdl/test_emptycomplextype.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/wsdl/test_emptycomplextype.rb')
-rw-r--r--test/wsdl/test_emptycomplextype.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wsdl/test_emptycomplextype.rb b/test/wsdl/test_emptycomplextype.rb
index 45136b417d..71d1b8641d 100644
--- a/test/wsdl/test_emptycomplextype.rb
+++ b/test/wsdl/test_emptycomplextype.rb
@@ -7,12 +7,12 @@ module WSDL
class TestWSDL < Test::Unit::TestCase
def setup
- @file = File.join(File.dirname(__FILE__), 'emptycomplextype.wsdl')
+ @file = File.join(File.dirname(File.expand_path(__FILE__)), 'emptycomplextype.wsdl')
end
def test_wsdl
@wsdl = WSDL::Parser.new.parse(File.open(@file) { |f| f.read })
- assert_equal("#<WSDL::Definitions:{urn:jp.gr.jin.rrr.example.emptycomplextype}emptycomplextype>", @wsdl.inspect)
+ assert(/\{urn:jp.gr.jin.rrr.example.emptycomplextype\}emptycomplextype/ =~ @wsdl.inspect)
end
end