test/test_helper.rb in josevalim-inherited_resources-0.8.5 vs test/test_helper.rb in josevalim-inherited_resources-0.9.0
- old
+ new
@@ -1,7 +1,10 @@
require 'test/unit'
require 'rubygems'
-require 'ruby-debug'
+begin
+ require 'ruby-debug'
+rescue LoadError
+end
require 'mocha'
ENV["RAILS_ENV"] = "test"
RAILS_ROOT = "anywhere"