diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-05 15:08:16 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-05 15:08:16 -0800 |
commit | ff18049ca6f27deb7e7f955478e1464f8d756332 (patch) | |
tree | 2a090556451c3d68ee592b9cce0eb45888ade2c9 /activerecord/test/cases/associations/callbacks_test.rb | |
parent | 67c1fa934bd1ea04ee291df272d3e6a9094994e1 (diff) | |
download | rails-ff18049ca6f27deb7e7f955478e1464f8d756332.tar.gz rails-ff18049ca6f27deb7e7f955478e1464f8d756332.tar.bz2 rails-ff18049ca6f27deb7e7f955478e1464f8d756332.zip |
:cut: remove unnecessary rescue Exceptions
Diffstat (limited to 'activerecord/test/cases/associations/callbacks_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/callbacks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/callbacks_test.rb b/activerecord/test/cases/associations/callbacks_test.rb index a531e0e02c..a341cb706d 100644 --- a/activerecord/test/cases/associations/callbacks_test.rb +++ b/activerecord/test/cases/associations/callbacks_test.rb @@ -180,7 +180,7 @@ class AssociationCallbacksTest < ActiveRecord::TestCase assert !@david.unchangable_posts.include?(@authorless) begin @david.unchangable_posts << @authorless - rescue Exception + rescue end assert @david.post_log.empty? assert !@david.unchangable_posts.include?(@authorless) |