summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/operations/AllTests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/operations/AllTests.rb')
-rw-r--r--ruby/test/Ice/operations/AllTests.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby/test/Ice/operations/AllTests.rb b/ruby/test/Ice/operations/AllTests.rb
index 3e0ccb2d22a..db605c422ca 100644
--- a/ruby/test/Ice/operations/AllTests.rb
+++ b/ruby/test/Ice/operations/AllTests.rb
@@ -10,16 +10,16 @@
require './Twoways'
require './BatchOneways'
-def allTests(communicator)
- ref = "test:default -p 12010"
+def allTests(helper, communicator)
+ ref = "test:#{helper.getTestEndpoint()}"
base = communicator.stringToProxy(ref)
cl = Test::MyClassPrx::checkedCast(base)
derived = Test::MyDerivedClassPrx::checkedCast(cl)
print "testing twoway operations... "
STDOUT.flush
- twoways(communicator, cl)
- twoways(communicator, derived)
+ twoways(helper, communicator, cl)
+ twoways(helper, communicator, derived)
derived.opDerived()
puts "ok"