Permalink
Browse files

Merge pull request #9354 from NARKOZ/remove-warnings

remove assigned but unused variables
  • Loading branch information...
2 parents 91d1ac0 + 5e52905 commit ea544e9b481d669fa0a0863b872b6e9034806d07 @steveklabnik steveklabnik committed Feb 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/form_options_helper_test.rb
@@ -416,11 +416,11 @@ def test_time_zone_options_with_unselected_priority_zones
"<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

0 comments on commit ea544e9

Please sign in to comment.