Silence TimeZone warning

This commit is contained in:
Pratik Naik 2008-06-11 17:11:11 +01:00
parent 23df8befcd
commit 65bc8f33de
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,6 @@ class MockTimeZone
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