Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove assigned but unused variable warning

  • Loading branch information...
commit 5e5290586f37d6c8858b183275a270daabf9b751 1 parent b0fa9b5
@NARKOZ authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/form_options_helper_test.rb
View
4 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 5e52905

Please sign in to comment.
Something went wrong with that request. Please try again.