Blob Blame History Raw
From 66e702813b4fef3951dff941b4778b595929e092 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@jeremyevans.net>
Date: Thu, 4 Aug 2022 10:33:16 -0700
Subject: [PATCH] Remove use of Bundler.setup

If use of bundler is desired, bundle exec should be used.  This
is already done in CI.

With the current setup, I cannot even run rake -T to see available
tasks without installing gems.  When running tests for one engine,
I should not need to install tests for other engines I'm not using.

All template engine tests already have checks for whether the
engine is installed, and if the engine is not available, it prints
a useful message and skips the tests for that engine.
---
 test/test_helper.rb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/test/test_helper.rb b/test/test_helper.rb
index 43c685c..05078e2 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,8 +1,5 @@
 $LOAD_PATH << File.expand_path('../../lib', __FILE__)
 
-require 'bundler'
-Bundler.setup
-
 require 'minitest/autorun'
 require 'minitest/mock'