提交 c8461e0d 编写于 作者: R Rafael Mendonça França

Merge pull request #11637 from neerajdotname/make_test_not_depend_on_order

reset default timezone and make test order independent
......@@ -11,6 +11,10 @@ def setup
Time.zone = nil
end
def teardown
ActiveRecord::Base.default_timezone = :utc
end
def test_multiparameter_attributes_on_date
attributes = { "last_read(1i)" => "2004", "last_read(2i)" => "6", "last_read(3i)" => "24" }
topic = Topic.find(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册