From 920dd6e4ef2256858cd06735c8e62fea20ddbdf1 Mon Sep 17 00:00:00 2001
From: Bruno Michel <bmichel@menfin.info>
Date: Mon, 30 Apr 2018 18:56:31 +0200
Subject: [PATCH] Add minitest to ruby tests dependencies

---
 scripts/sharing-test.sh    | 2 +-
 tests/sharing/Gemfile      | 1 +
 tests/sharing/Gemfile.lock | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/sharing-test.sh b/scripts/sharing-test.sh
index c9bdb7aa8..ee0783a74 100755
--- a/scripts/sharing-test.sh
+++ b/scripts/sharing-test.sh
@@ -2,5 +2,5 @@
 set -ev
 
 cd tests/sharing
-bundle install
+bundle install --jobs=3 --retry=3
 bundle exec ruby tests/*.rb
diff --git a/tests/sharing/Gemfile b/tests/sharing/Gemfile
index 8a0165a44..b31b6eba0 100644
--- a/tests/sharing/Gemfile
+++ b/tests/sharing/Gemfile
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
 gem "awesome_print"
 gem "faker"
 gem "mimemagic"
+gem "minitest"
 gem "pry"
 gem "pry-rescue"
 gem "rest-client"
diff --git a/tests/sharing/Gemfile.lock b/tests/sharing/Gemfile.lock
index 74ab931bf..6f0c26300 100644
--- a/tests/sharing/Gemfile.lock
+++ b/tests/sharing/Gemfile.lock
@@ -18,6 +18,7 @@ GEM
       mime-types-data (~> 3.2015)
     mime-types-data (3.2016.0521)
     mimemagic (0.3.2)
+    minitest (5.11.3)
     netrc (0.11.0)
     pry (0.11.3)
       coderay (~> 1.1.0)
@@ -40,6 +41,7 @@ DEPENDENCIES
   awesome_print
   faker
   mimemagic
+  minitest
   pry
   pry-rescue
   rest-client
-- 
GitLab