summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-05 22:13:04 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-06 14:01:37 +0100
commit21b9b444fdb73a0a7225aef1b53306a51f4de97d (patch)
treec60fe309bcf54a274d6594263d160c0a6ec0cd5a
parentd0f9ec6af242a1e58f3cebf3397d6c38908a17e5 (diff)
downloadbundler-21b9b444fdb73a0a7225aef1b53306a51f4de97d.tar.gz
Be more explictly when setting gem paths
The point of this method is actually to set gem paths. Call a more explicit helper to do that.
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ee234bfdeb..ec6dba3e7d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -101,7 +101,7 @@ RSpec.configure do |config|
config.around :each do |example|
ENV.replace(original_env)
- system_gems []
+ set_gem_paths_to(system_gem_path)
@command_executions = []
Bundler.ui.silence { example.run }