Permalink
Browse files

Silence TimeZone warning

  • Loading branch information...
1 parent 25a4327 commit 20442acf8fe9af32bccc67e280ab0ef6f4e8ba85 @lifo lifo committed Jun 11, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/form_options_helper_test.rb
@@ -20,8 +20,6 @@ def to_s
end
end
-ActiveSupport::TimeZone = MockTimeZone
-
class FormOptionsHelperTest < ActionView::TestCase
tests ActionView::Helpers::FormOptionsHelper
@@ -31,6 +29,8 @@ class FormOptionsHelperTest < ActionView::TestCase
Country = Struct.new('Country', :country_id, :country_name)
Firm = Struct.new('Firm', :time_zone)
Album = Struct.new('Album', :id, :title, :genre)
+
+ ActiveSupport::TimeZone = MockTimeZone
end
def test_collection_options

0 comments on commit 20442ac

Please sign in to comment.