diff --git a/Gemfile b/Gemfile index 8e9e4f6e..9c31a8f8 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,5 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } gemspec gem "debug" +gem "mocha" gem "railties" diff --git a/Gemfile.lock b/Gemfile.lock index aa599064..6ca852e2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -46,6 +46,8 @@ GEM nokogiri (>= 1.5.9) method_source (1.0.0) minitest (5.17.0) + mocha (2.0.2) + ruby2_keywords (>= 0.0.5) net-scp (4.0.0) net-ssh (>= 2.6.5, < 8.0.0) net-ssh (7.0.1) @@ -74,6 +76,7 @@ GEM rake (13.0.6) reline (0.3.2) io-console (~> 0.5) + ruby2_keywords (0.0.5) sshkit (1.21.3) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) @@ -92,6 +95,7 @@ PLATFORMS DEPENDENCIES debug + mocha mrsk! railties diff --git a/test/test_helper.rb b/test/test_helper.rb index 7f8eaddc..3da81a65 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -2,6 +2,7 @@ require "bundler/setup" require "active_support/test_case" require "active_support/testing/autorun" require "debug" +require "mocha/minitest" require "sshkit" ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT) if ENV["VERBOSE"]