summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/enums/AllTests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/enums/AllTests.rb')
-rw-r--r--ruby/test/Ice/enums/AllTests.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/ruby/test/Ice/enums/AllTests.rb b/ruby/test/Ice/enums/AllTests.rb
index 55e1bf54601..2f6e49b2b79 100644
--- a/ruby/test/Ice/enums/AllTests.rb
+++ b/ruby/test/Ice/enums/AllTests.rb
@@ -7,14 +7,8 @@
#
# **********************************************************************
-def test(b)
- if !b
- raise RuntimeError, 'test assertion failed'
- end
-end
-
-def allTests(communicator)
- ref = "test:default -p 12010"
+def allTests(helper, communicator)
+ ref = "test:#{helper.getTestEndpoint()}"
base = communicator.stringToProxy(ref)
test(base)