diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/test_help.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb index 3b91438c08..22ce9ab609 100644 --- a/railties/lib/test_help.rb +++ b/railties/lib/test_help.rb @@ -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
\ No newline at end of file |