From f207245cc76f24c691daf7d223f33c247d0dc66c Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 11 Jul 2015 20:16:18 -0500 Subject: [PATCH] Load mocha for tests --- Gemfile | 1 + Gemfile.lock | 4 ++++ test/test_helper.rb | 2 ++ 3 files changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index 7dfe51bf00030..ba63fae6d0be0 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 578fc63b02c59..c1729aa2277f3 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 2b1ddb237f26e..f3b994a9fcb7d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -4,6 +4,8 @@ gem 'minitest' require "minitest/autorun" +require 'mocha/mini_test' + Bundler.setup Bundler.require :default, :test