提交 12fadea8 编写于 作者: Y yuuji.yaginuma

Remove redundant `travel_back`

Since #29860, `travel_back` automatically called at the end of the test.
上级 d48f4ddf
......@@ -567,8 +567,6 @@ def test_previous_changes
assert_not_nil pirate.previous_changes["updated_on"][1]
assert_not pirate.previous_changes.key?("parrot_id")
assert_not pirate.previous_changes.key?("created_on")
ensure
travel_back
end
class Testings < ActiveRecord::Base; end
......
# frozen_string_literal: true
module SharedMessageMetadataTests
def teardown
travel_back
super
end
def null_serializing?
false
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册