aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorLachlan Sylvester <lachlan.sylvester@publicisfrontfoot.com.au>2018-08-06 11:06:01 +1000
committerLachlan Sylvester <lachlan.sylvester@publicisfrontfoot.com.au>2018-08-14 09:15:28 +1000
commitc675783eb4fb42a357ec068d4cfd83bf08f78aea (patch)
tree3b33266cddd9656569ab5f998980c64255e0f01c /actionpack/test
parentffc4703f22888dce0394fe0ab524a9e6cdc3c7e5 (diff)
downloadrails-c675783eb4fb42a357ec068d4cfd83bf08f78aea.tar.gz
rails-c675783eb4fb42a357ec068d4cfd83bf08f78aea.tar.bz2
rails-c675783eb4fb42a357ec068d4cfd83bf08f78aea.zip
Use backtrace cleaner to clean up backtrace for verbose query logs
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/exception_wrapper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/exception_wrapper_test.rb b/actionpack/test/dispatch/exception_wrapper_test.rb
index 600280d6b3..668469a01d 100644
--- a/actionpack/test/dispatch/exception_wrapper_test.rb
+++ b/actionpack/test/dispatch/exception_wrapper_test.rb
@@ -20,6 +20,7 @@ module ActionDispatch
setup do
@cleaner = ActiveSupport::BacktraceCleaner.new
+ @cleaner.remove_filters!
@cleaner.add_silencer { |line| line !~ /^lib/ }
end