Remove redundant `travel_back`
Since #29860, `travel_back` automatically called at the end of the test.
This commit is contained in:
parent
d48f4ddfc8
commit
12fadea8ae
|
@ -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
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module SharedMessageMetadataTests
|
||||
def teardown
|
||||
travel_back
|
||||
super
|
||||
end
|
||||
|
||||
def null_serializing?
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue