From 0beec244e77bea288641a2e7de043b2fc7d948a3 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Wed, 3 Apr 2013 00:36:16 +0530 Subject: each_with_index => each as we dont use index --- actionpack/test/template/form_options_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/template') 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 -- cgit v1.2.3