From d91bee80beae4e92b2b015599771310cebc3a143 Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Fri, 5 Oct 2012 21:42:11 -0500 Subject: use Rails backtrace in tests --- activesupport/lib/active_support/backtrace_cleaner.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support/backtrace_cleaner.rb') 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. -- cgit v1.2.3