提交 d52052d0 编写于 作者: N Neeraj Singh

make test order independent by resetting timezone

上级 bffda1e6
......@@ -32,6 +32,8 @@ def test_cache_key_for_existing_record_is_not_timezone_dependent
est_key = Developer.first.cache_key
assert_equal utc_key, est_key
ensure
Time.zone = 'UTC'
end
def test_cache_key_format_for_existing_record_with_updated_at
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册