diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 15:14:42 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 15:14:42 -0700 |
commit | 1591272f6ae2ed3509eced2295170e2324306b2c (patch) | |
tree | d2d4ffaf952f76bf4d3b3424fda0c38fdefe5848 /test | |
parent | 01971b48c448fb9548d2a9ca5fb79a71922d73ce (diff) | |
download | rails-1591272f6ae2ed3509eced2295170e2324306b2c.tar.gz rails-1591272f6ae2ed3509eced2295170e2324306b2c.tar.bz2 rails-1591272f6ae2ed3509eced2295170e2324306b2c.zip |
Make debugger available in testing
Diffstat (limited to 'test')
-rw-r--r-- | test/test_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index c05cc87896..114d719905 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -5,6 +5,8 @@ require_relative "../test/dummy/config/environment" ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)] require "rails/test_help" +require "byebug" + # Filter out Minitest backtrace while allowing backtrace from other libraries # to be shown. Minitest.backtrace_filter = Minitest::BacktraceFilter.new |