summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 13:21:59 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 13:21:59 +0000
commita07bc1123aeb0bd3a1548338053d44047d20b509 (patch)
treea97f0a9e97196e381c5d075011b4e07802472407 /test/rinda
parentef049291d4225bf6ba0a8a505f59bd74a3dff4c8 (diff)
use new_with instead of reinit [ruby-dev:25961]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index d2b2c7f..86e161e 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -214,19 +214,19 @@ module TupleSpaceTestModule
tmpl = Rinda::DRbObjectTemplate.new(/^druby:\/\/host:/)
assert(tmpl === ro)
- ro.reinit(12345, 1234)
+ ro = DRbObject.new_with(12345, 1234)
assert(!(tmpl === ro))
- ro.reinit("druby://foo:12345", 1234)
+ ro = DRbObject.new_with("druby://foo:12345", 1234)
assert(!(tmpl === ro))
tmpl = Rinda::DRbObjectTemplate.new(/^druby:\/\/(foo|bar):/)
assert(tmpl === ro)
- ro.reinit("druby://bar:12345", 1234)
+ ro = DRbObject.new_with("druby://bar:12345", 1234)
assert(tmpl === ro)
- ro.reinit("druby://baz:12345", 1234)
+ ro = DRbObject.new_with("druby://baz:12345", 1234)
assert(!(tmpl === ro))
end