Permalink
Browse files

Use the --debugger option rather than starting the debugger manually.

  • Loading branch information...
myronmarston committed Jul 4, 2010
1 parent ade8181 commit 30f5c5d4e3e92ef094a39d0141a200488e0b95e1
Showing with 2 additions and 9 deletions.
  1. +2 −1 spec/spec.opts
  2. +0 −8 spec/spec_helper.rb
View
@@ -1,2 +1,3 @@
--color
---format nested
+--format nested
+--debugger
View
@@ -10,14 +10,6 @@
require 'spec'
require 'spec/autorun'
-begin
- require '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
-
# Ruby 1.9.1 has a different yaml serialization format.
YAML_SERIALIZATION_VERSION = RUBY_VERSION == '1.9.1' ? '1.9.1' : 'not_1.9.1'

0 comments on commit 30f5c5d

Please sign in to comment.