aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-02-21 06:58:16 -0800
committerSteve Klabnik <steve@steveklabnik.com>2013-02-21 06:58:16 -0800
commitea544e9b481d669fa0a0863b872b6e9034806d07 (patch)
treec6dccae2bfa594f24c80c320905df483ee1b6291 /actionpack/test
parent91d1ac0d210f91056ee574579af0b52ec5324cb8 (diff)
parent5e5290586f37d6c8858b183275a270daabf9b751 (diff)
downloadrails-ea544e9b481d669fa0a0863b872b6e9034806d07.tar.gz
rails-ea544e9b481d669fa0a0863b872b6e9034806d07.tar.bz2
rails-ea544e9b481d669fa0a0863b872b6e9034806d07.zip
Merge pull request #9354 from NARKOZ/remove-warnings
remove assigned but unused variables
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/form_options_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/form_options_helper_test.rb b/actionpack/test/template/form_options_helper_test.rb
index 757b05dbc1..04c3fd4649 100644
--- a/actionpack/test/template/form_options_helper_test.rb
+++ b/actionpack/test/template/form_options_helper_test.rb
@@ -416,11 +416,11 @@ class FormOptionsHelperTest < ActionView::TestCase
"<option value=\"D\">D</option>",
opts
end
-
+
def test_time_zone_options_with_priority_zones_does_not_mutate_time_zones
original_zones = ActiveSupport::TimeZone.all.dup
zones = [ ActiveSupport::TimeZone.new( "B" ), ActiveSupport::TimeZone.new( "E" ) ]
- opts = time_zone_options_for_select( nil, zones )
+ time_zone_options_for_select(nil, zones)
assert_equal original_zones, ActiveSupport::TimeZone.all
end