mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Re-enable the debugger in testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
72bd4ff3e6
commit
4ad3721a17
1 changed files with 8 additions and 0 deletions
|
@ -18,3 +18,11 @@ ActionController::IntegrationTest.fixture_path = Test::Unit::TestCase.fixture_pa
|
|||
def create_fixtures(*table_names)
|
||||
Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names)
|
||||
end
|
||||
|
||||
begin
|
||||
require_library_or_gem 'ruby-debug'
|
||||
Debugger.start
|
||||
Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
|
||||
rescue LoadError
|
||||
# ruby-debug wasn't available so neither can the debugging be
|
||||
end
|
Loading…
Reference in a new issue