diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-08-08 18:38:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 18:38:25 -0400 |
commit | 96bcaedf1d4f21c27c1901830a69910d2680c012 (patch) | |
tree | 6de1198b1da005906d1a7acfee144ad127865fc9 /activestorage | |
parent | c7be5dfa3c9ca1ab6f86063a031c9b200269cc2f (diff) | |
parent | d44e737a761108c7b59183cb47fbd70a024bdfab (diff) | |
download | rails-96bcaedf1d4f21c27c1901830a69910d2680c012.tar.gz rails-96bcaedf1d4f21c27c1901830a69910d2680c012.tar.bz2 rails-96bcaedf1d4f21c27c1901830a69910d2680c012.zip |
Merge pull request #30112 from dixpac/filter_minitest_backtrace
ActiveStorage:Filter out Minitest backtrace.
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/test/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activestorage/test/test_helper.rb b/activestorage/test/test_helper.rb index 5b6d3b64c2..50cc72cbe3 100644 --- a/activestorage/test/test_helper.rb +++ b/activestorage/test/test_helper.rb @@ -12,6 +12,10 @@ ActiveJob::Base.logger = nil require "active_storage" +# Filter out Minitest backtrace while allowing backtrace from other libraries +# to be shown. +Minitest.backtrace_filter = Minitest::BacktraceFilter.new + require "yaml" SERVICE_CONFIGURATIONS = begin erb = ERB.new(Pathname.new(File.expand_path("../service/configurations.yml", __FILE__)).read) |