aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock4
-rw-r--r--test/test_helper.rb2
3 files changed, 7 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 7dfe51bf00..ba63fae6d0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,5 +4,6 @@ gemspec
group :test do
gem 'rake'
gem 'puma'
+ gem 'mocha'
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 578fc63b02..c1729aa227 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -31,7 +31,10 @@ GEM
hitimes (1.2.2)
i18n (0.7.0)
json (1.8.3)
+ metaclass (0.0.4)
minitest (5.7.0)
+ mocha (1.1.0)
+ metaclass (~> 0.0.1)
puma (2.10.2)
rack (>= 1.1, < 2.0)
rack (1.6.0)
@@ -51,6 +54,7 @@ PLATFORMS
DEPENDENCIES
actioncable!
+ mocha
puma
rake
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 2b1ddb237f..f3b994a9fc 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,6 +4,8 @@ require "bundler"
gem 'minitest'
require "minitest/autorun"
+require 'mocha/mini_test'
+
Bundler.setup
Bundler.require :default, :test