aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-08-31 16:19:58 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-08-31 16:19:58 +0900
commit12fadea8aee3981654149d6e8ff5099bca31c679 (patch)
treec4face012f1da41a6e556c3b3a71e6c02c86b17d /activerecord/test
parentd48f4ddfc8dd38b65f7a040c5c9c7d1468114d2d (diff)
downloadrails-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/test')
-rw-r--r--activerecord/test/cases/dirty_test.rb2
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