diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 20:11:03 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 20:11:03 -0700 |
commit | 639efb93135c765dcf5c4aa09c30a8b4973c8421 (patch) | |
tree | 0ba7de36e6ebdb66050b82f27eff655398954811 /railties/lib | |
parent | 62aff55706e4a245080440343730a315be423628 (diff) | |
parent | d91bee80beae4e92b2b015599771310cebc3a143 (diff) | |
download | rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.tar.gz rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.tar.bz2 rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.zip |
Merge pull request #7861 from frodsan/test_backtrace
use Rails backtrace in tests
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/test_help.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index 581ceaf9ce..aa357dc418 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -7,6 +7,10 @@ require 'active_support/test_case' require 'action_controller/test_case' require 'action_dispatch/testing/integration' +# Config Rails backtrace in tests. +require 'rails/backtrace_cleaner' +MiniTest.backtrace_filter = Rails.backtrace_cleaner + # Enable turn if it is available begin require 'turn' |