diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-06-11 17:11:11 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-06-11 17:11:34 +0100 |
commit | 65bc8f33de03d2aa919b54141f707d650c2fbf61 (patch) | |
tree | ec6570b394ecdb087382d011745178f7c1888846 /actionpack/test/template | |
parent | 23df8befcd557a3294b8a87cf68fd21b1a9d9a49 (diff) | |
download | rails-65bc8f33de03d2aa919b54141f707d650c2fbf61.tar.gz rails-65bc8f33de03d2aa919b54141f707d650c2fbf61.tar.bz2 rails-65bc8f33de03d2aa919b54141f707d650c2fbf61.zip |
Silence TimeZone warning
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/form_options_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/form_options_helper_test.rb b/actionpack/test/template/form_options_helper_test.rb index d5aeb4939e..3f89a5e426 100644 --- a/actionpack/test/template/form_options_helper_test.rb +++ b/actionpack/test/template/form_options_helper_test.rb @@ -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 |