提交 65bc8f33 编写于 作者: P Pratik Naik

Silence TimeZone warning

上级 23df8bef
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册