diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-05 15:05:47 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-05 15:05:47 -0800 |
commit | 67c1fa934bd1ea04ee291df272d3e6a9094994e1 (patch) | |
tree | 7308a3ba3cddbd4079460a886ff45a5958408076 /activerecord | |
parent | 798a14a6388ac525109e550d72bba0b1118e5e2e (diff) | |
download | rails-67c1fa934bd1ea04ee291df272d3e6a9094994e1.tar.gz rails-67c1fa934bd1ea04ee291df272d3e6a9094994e1.tar.bz2 rails-67c1fa934bd1ea04ee291df272d3e6a9094994e1.zip |
remove unnecessary rescue
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/mixin_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/mixin_test.rb b/activerecord/test/cases/mixin_test.rb index 7ddb2bfee1..7ebdcac711 100644 --- a/activerecord/test/cases/mixin_test.rb +++ b/activerecord/test/cases/mixin_test.rb @@ -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 |