summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/operations/Twoways.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/operations/Twoways.rb')
-rw-r--r--ruby/test/Ice/operations/Twoways.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/test/Ice/operations/Twoways.rb b/ruby/test/Ice/operations/Twoways.rb
index 598353fbe48..1f756b16360 100644
--- a/ruby/test/Ice/operations/Twoways.rb
+++ b/ruby/test/Ice/operations/Twoways.rb
@@ -8,7 +8,7 @@
#
# **********************************************************************
-def twoways(communicator, p)
+def twoways(helper, communicator, p)
literals = p.opStringLiterals();
@@ -1239,7 +1239,7 @@ def twoways(communicator, p)
ctx = {'one'=>'ONE', 'two'=>'TWO', 'three'=>'THREE'}
- p = Test::MyClassPrx::uncheckedCast(ic.stringToProxy('test:default -p 12010'))
+ p = Test::MyClassPrx::uncheckedCast(ic.stringToProxy("test:#{helper.getTestEndpoint()}"))
ic.getImplicitContext().setContext(ctx)
test(ic.getImplicitContext().getContext() == ctx)