diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-04-03 00:36:16 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-04-03 00:36:16 +0530 |
commit | 0beec244e77bea288641a2e7de043b2fc7d948a3 (patch) | |
tree | 1d4d3542d752a6bd52898f74133125ff3c210313 /actionpack/test | |
parent | 62affac0410a0762c78b5d9d2754661a9964e0cd (diff) | |
download | rails-0beec244e77bea288641a2e7de043b2fc7d948a3.tar.gz rails-0beec244e77bea288641a2e7de043b2fc7d948a3.tar.bz2 rails-0beec244e77bea288641a2e7de043b2fc7d948a3.zip |
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 |