mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove unnecessary rescue
This commit is contained in:
parent
798a14a638
commit
67c1fa934b
1 changed files with 0 additions and 2 deletions
|
@ -61,8 +61,6 @@ class TouchTest < ActiveRecord::TestCase
|
|||
|
||||
# Make sure Mixin.record_timestamps gets reset, even if this test fails,
|
||||
# so that other tests do not fail because Mixin.record_timestamps == false
|
||||
rescue Exception => e
|
||||
raise e
|
||||
ensure
|
||||
Mixin.record_timestamps = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue