aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
diff options
context:
space:
mode:
authorCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-13 16:56:04 -0700
committerCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-13 16:56:04 -0700
commit647b83d50cba655422bcb83815f618b5a92bfc7d (patch)
tree72ea7eaf5344a19161c59812707b3055d98adfbe /activesupport/lib/active_support/testing
parent906aebceedb95d8caa6db6314bc90f605bdfaf2b (diff)
downloadrails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.gz
rails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.bz2
rails-647b83d50cba655422bcb83815f618b5a92bfc7d.zip
Resurrecting 1.9 compatibility.
Diffstat (limited to 'activesupport/lib/active_support/testing')
-rw-r--r--activesupport/lib/active_support/testing/pending.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/pending.rb b/activesupport/lib/active_support/testing/pending.rb
index b6905ddccd..d945c7e476 100644
--- a/activesupport/lib/active_support/testing/pending.rb
+++ b/activesupport/lib/active_support/testing/pending.rb
@@ -16,7 +16,7 @@ module ActiveSupport
begin
block.call
- rescue
+ rescue Exception
failed = true
end