aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-05 21:42:11 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-05 21:42:11 -0500
commitd91bee80beae4e92b2b015599771310cebc3a143 (patch)
tree0ba7de36e6ebdb66050b82f27eff655398954811 /activesupport/lib
parentca519eeb4096ab64e8368c2e4d24496329c06923 (diff)
downloadrails-d91bee80beae4e92b2b015599771310cebc3a143.tar.gz
rails-d91bee80beae4e92b2b015599771310cebc3a143.tar.bz2
rails-d91bee80beae4e92b2b015599771310cebc3a143.zip
use Rails backtrace in tests
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/backtrace_cleaner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb
index 53d05c3817..47898f8047 100644
--- a/activesupport/lib/active_support/backtrace_cleaner.rb
+++ b/activesupport/lib/active_support/backtrace_cleaner.rb
@@ -45,6 +45,7 @@ module ActiveSupport
filtered
end
end
+ alias :filter :clean
# Adds a filter from the block provided. Each line in the backtrace will be
# mapped against this filter.