Skip to content

Commit

Permalink
Remove use of Bundler.setup
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jeremyevans authored and judofyr committed Aug 4, 2022
1 parent 7997fac commit f8d41a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
require 'bundler'
Bundler.setup

require 'rake/testtask'
task :default => [:test]

Expand Down
3 changes: 0 additions & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
$LOAD_PATH << File.expand_path('../../lib', __FILE__)

require 'bundler'
Bundler.setup

require 'minitest/autorun'
require 'minitest/mock'

Expand Down

0 comments on commit f8d41a8

Please sign in to comment.