mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make debugger available in testing
This commit is contained in:
parent
01971b48c4
commit
1591272f6a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue