diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-05-25 21:57:57 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2014-05-25 21:57:57 +0530 |
commit | 1e2c01db15ceecd97b53b32a954ad8bf164b397a (patch) | |
tree | 31ff3290bc117d074ee1a991003d7f302f0d57d2 /test | |
parent | e295d61d6d4f13aee08c895751277531edb39993 (diff) | |
download | rails-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.rb | 2 |
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]] |