ruby-debug in tests

This commit is contained in:
Mitchell Hashimoto 2010-01-21 21:36:34 -08:00
parent ec2e34e9e3
commit 531aa5474d
3 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@ gem "net-ssh", ">= 2.0.19"
only :test do
gem "contest", ">= 0.1.2"
gem "mocha", ">= 0.9.8"
gem "ruby-debug", ">= 0.10.3" if RUBY_VERSION < '1.9'
end
# Since hobo uses bin/, change the bin_path to something

View File

@ -13,4 +13,9 @@ ENVERR
exit
end
require 'contest'
# ruby-debug, not necessary, but useful if we have it
begin
require 'ruby-debug'
rescue LoadError; end
require 'contest'

View File

@ -1,7 +1,6 @@
require File.join(File.dirname(__FILE__), '..', 'test_helper')
class ConfigTest < Test::Unit::TestCase
test "assert" do
assert true
end