Skip to content

Commit

Permalink
Merge pull request #9354 from NARKOZ/remove-warnings
Browse files Browse the repository at this point in the history
remove assigned but unused variables
  • Loading branch information
steveklabnik committed Feb 21, 2013
2 parents 91d1ac0 + 5e52905 commit ea544e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/test/template/form_options_helper_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit ea544e9

Please sign in to comment.