summaryrefslogtreecommitdiff
path: root/test/drb/test_drbssl.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:38 +0000
commitb0f623f5f418fed481c3634b6a3d1a0f508c888d (patch)
tree8b6bc44fce4c5a00859358aba9e630088a552e16 /test/drb/test_drbssl.rb
parent226fcd5814a2aea4ee5de9abcf2db972684e9d5e (diff)
drbtest.rb: DRbBase
* test/drb/drbtest.rb (DRbBase): extract from DRbCore and DRbAry for setup_service and teardown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/test_drbssl.rb')
-rw-r--r--test/drb/test_drbssl.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/drb/test_drbssl.rb b/test/drb/test_drbssl.rb
index 6322434eaa5..a54e2234ba0 100644
--- a/test/drb/test_drbssl.rb
+++ b/test/drb/test_drbssl.rb
@@ -36,9 +36,8 @@ end
class TestDRbSSLCore < Test::Unit::TestCase
include DRbCore
def setup
- @service_name = 'ut_drb_drbssl.rb'
- @ext = DRbSSLService.ext_service(@service_name)
- @there = @ext.front
+ setup_service 'ut_drb_drbssl.rb'
+ super
end
def test_02_unknown
@@ -54,9 +53,8 @@ end
class TestDRbSSLAry < Test::Unit::TestCase
include DRbAry
def setup
- @service_name = 'ut_array_drbssl.rb'
- @ext = DRbSSLService.ext_service(@service_name)
- @there = @ext.front
+ setup_service 'ut_array_drbssl.rb'
+ super
end
end