aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-05-25 21:57:57 +0530
committerVipul A M <vipulnsward@gmail.com>2014-05-25 21:57:57 +0530
commit1e2c01db15ceecd97b53b32a954ad8bf164b397a (patch)
tree31ff3290bc117d074ee1a991003d7f302f0d57d2 /test
parente295d61d6d4f13aee08c895751277531edb39993 (diff)
downloadrails-1e2c01db15ceecd97b53b32a954ad8bf164b397a.tar.gz
rails-1e2c01db15ceecd97b53b32a954ad8bf164b397a.tar.bz2
rails-1e2c01db15ceecd97b53b32a954ad8bf164b397a.zip
Fix warning form bind collector test
Diffstat (limited to 'test')
-rw-r--r--test/collectors/test_bind_collector.rb2
1 files changed, 1 insertions, 1 deletions
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]]