summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/optional/AllTests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/optional/AllTests.rb')
-rw-r--r--ruby/test/Ice/optional/AllTests.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/ruby/test/Ice/optional/AllTests.rb b/ruby/test/Ice/optional/AllTests.rb
index 91e8d50464d..28f5a9e9af9 100644
--- a/ruby/test/Ice/optional/AllTests.rb
+++ b/ruby/test/Ice/optional/AllTests.rb
@@ -7,16 +7,10 @@
#
# **********************************************************************
-def test(b)
- if !b
- raise RuntimeError, 'test assertion failed'
- end
-end
-
-def allTests(communicator)
+def allTests(helper, communicator)
print "testing stringToProxy... "
STDOUT.flush
- ref = "initial:default -p 12010"
+ ref = "initial:#{helper.getTestEndpoint()}"
base = communicator.stringToProxy(ref)
test(base)
puts "ok"