Remove redundant `travel_back`

Since #29860, `travel_back` automatically called at the end of the test.
This commit is contained in:
yuuji.yaginuma 2018-08-31 16:19:58 +09:00
parent d48f4ddfc8
commit 12fadea8ae
2 changed files with 0 additions and 7 deletions

View File

@ -567,8 +567,6 @@ class DirtyTest < ActiveRecord::TestCase
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

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
module SharedMessageMetadataTests
def teardown
travel_back
super
end
def null_serializing?
false
end