diff options
Diffstat (limited to 'test/rinda')
-rw-r--r-- | test/rinda/test_rinda.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index d2b2c7f17..86e161e0c 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 |