From 1c1e7975a9d9485897476741c825a9816c78b8ee Mon Sep 17 00:00:00 2001
From: Axilleas Pipinellis <axilleas@archlinux.gr>
Date: Mon, 6 May 2013 19:53:19 +0300
Subject: [PATCH] Add minitest to Gemfile. Fix #3826

There are occasions where minitest is not bundled in packaged
versions of ruby that some OSes distribute (eg Fedora). Adding
minitest to Gemfile ensures that it gets loaded and tests can run.

Signed-off-by: Axilleas Pipinellis <axilleas@archlinux.gr>
---
 Gemfile      | 3 +++
 Gemfile.lock | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/Gemfile b/Gemfile
index bccde6664ddfe..a927c3e4e62d9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -153,6 +153,9 @@ group :development, :test do
   gem "launchy"
   gem 'factory_girl_rails'
 
+  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
+  gem 'minitest'
+  
   # Generate Fake data
   gem "ffaker"
 
diff --git a/Gemfile.lock b/Gemfile.lock
index c06a1bd09cc9d..3080651ba29ec 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -263,6 +263,7 @@ GEM
       treetop (~> 1.4.8)
     method_source (0.8.1)
     mime-types (1.23)
+    minitest (4.7.4)
     modernizr (2.6.2)
       sprockets (~> 2.0)
     multi_json (1.7.2)
@@ -538,6 +539,7 @@ DEPENDENCIES
   kaminari (~> 0.14.1)
   launchy
   letter_opener
+  minitest
   modernizr (= 2.6.2)
   mysql2
   omniauth (~> 1.1.3)
-- 
GitLab