提交 5e68e42f 编写于 作者: N Neeraj Singh

reset default timezone and make test order independent

上级 bffda1e6
......@@ -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.
先完成此消息的编辑!
想要评论请 注册