diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-08-31 16:19:58 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-08-31 16:19:58 +0900 |
commit | 12fadea8aee3981654149d6e8ff5099bca31c679 (patch) | |
tree | c4face012f1da41a6e556c3b3a71e6c02c86b17d /activerecord | |
parent | d48f4ddfc8dd38b65f7a040c5c9c7d1468114d2d (diff) | |
download | rails-12fadea8aee3981654149d6e8ff5099bca31c679.tar.gz rails-12fadea8aee3981654149d6e8ff5099bca31c679.tar.bz2 rails-12fadea8aee3981654149d6e8ff5099bca31c679.zip |
Remove redundant `travel_back`
Since #29860, `travel_back` automatically called at the end of the test.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/dirty_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/dirty_test.rb b/activerecord/test/cases/dirty_test.rb index 1f0e770a93..b1ebd20d6b 100644 --- a/activerecord/test/cases/dirty_test.rb +++ b/activerecord/test/cases/dirty_test.rb @@ -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 |