From 1d3618a9b47d3160af00992756a4487906e39bcb Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 7 Jun 2011 21:39:55 -0300 Subject: remove warning: assigned but unused variable --- activesupport/test/test_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb index ee5a20c789..5bd995aa32 100644 --- a/activesupport/test/test_test.rb +++ b/activesupport/test/test_test.rb @@ -50,7 +50,7 @@ class AssertDifferenceTest < ActiveSupport::TestCase def test_expression_is_evaluated_in_the_appropriate_scope silence_warnings do - local_scope = 'foo' + local_scope = local_scope = 'foo' assert_difference('local_scope; @object.num') { @object.increment } end end -- cgit v1.2.3