Skip to content
Browse files

Merge pull request #72 from kachick/improve/around_test_env

Improve around test dependencies
  • Loading branch information...
2 parents 68d2aaf + b3222ca commit 01ccaf5e296260a0aa48da6029e8d69335a5f52c @delano delano committed Jan 8, 2013
Showing with 5 additions and 1 deletion.
  1. +3 −0 net-ssh.gemspec
  2. +2 −1 test/common.rb
View
3 net-ssh.gemspec
@@ -20,6 +20,9 @@
s.add_dependency 'jruby-pageant', ">=1.1.1"
end
+ s.add_development_dependency 'test-unit'
+ s.add_development_dependency 'mocha'
+
s.executables = %w[]
# = MANIFEST =
View
3 test/common.rb
@@ -1,7 +1,8 @@
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
+gem 'mocha'
require 'test/unit'
-require 'mocha'
+require 'mocha/setup'
require 'net/ssh/buffer'
require 'net/ssh/config'
require 'net/ssh/loggable'

0 comments on commit 01ccaf5

Please sign in to comment.
Something went wrong with that request. Please try again.