mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
@@ -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
|
||||
Reference in New Issue
Block a user