diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-02 12:23:51 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-02 12:23:51 -0700 |
commit | defb5a2f5ab16a0ec5a791a998d5427ded7ac26c (patch) | |
tree | 5c16b63879ec4c69ec3b299795baa8ee1baea28b /actionpack/test | |
parent | 6871b2e6e00db64c4f5f7213e4d007479ed7f538 (diff) | |
parent | 0beec244e77bea288641a2e7de043b2fc7d948a3 (diff) | |
download | rails-defb5a2f5ab16a0ec5a791a998d5427ded7ac26c.tar.gz rails-defb5a2f5ab16a0ec5a791a998d5427ded7ac26c.tar.bz2 rails-defb5a2f5ab16a0ec5a791a998d5427ded7ac26c.zip |
Merge pull request #10055 from vipulnsward/remove_each_with_index_in_test
each_with_index => each as we dont use index
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/form_options_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/form_options_helper_test.rb b/actionpack/test/template/form_options_helper_test.rb index 0b45d01593..1437ff7285 100644 --- a/actionpack/test/template/form_options_helper_test.rb +++ b/actionpack/test/template/form_options_helper_test.rb @@ -1115,7 +1115,7 @@ class FormOptionsHelperTest < ActionView::TestCase @firm = Firm.new("D") priority_zones = /A|D/ - @fake_timezones.each_with_index do |tz, i| + @fake_timezones.each do |tz| priority_zones.stubs(:===).with(tz).raises(Exception) end |