From 1e2c01db15ceecd97b53b32a954ad8bf164b397a Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 25 May 2014 21:57:57 +0530 Subject: Fix warning form bind collector test --- test/collectors/test_bind_collector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/collectors') diff --git a/test/collectors/test_bind_collector.rb b/test/collectors/test_bind_collector.rb index 036d8f05fe..60532f061c 100644 --- a/test/collectors/test_bind_collector.rb +++ b/test/collectors/test_bind_collector.rb @@ -49,7 +49,7 @@ module Arel offsets = values.map.with_index { |v,i| [v,i] - }.find_all { |(v,i)| Nodes::BindParam === v }.map(&:last) + }.find_all { |(v,_)| Nodes::BindParam === v }.map(&:last) list = collector.substitute_binds ["hello", "world"] assert_equal "hello", list[offsets[0]] -- cgit v1.2.3