summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rinda/test_rinda.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index c20f06017f..e247635104 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -673,11 +673,11 @@ class TestRingServer < Test::Unit::TestCase
def _test_do_reply
called = nil
- callback = proc { |ts|
+ callback_orig = proc { |ts|
called = ts
}
- callback = DRb::DRbObject.new callback
+ callback = DRb::DRbObject.new callback_orig
@ts.write [:lookup_ring, callback]