summaryrefslogtreecommitdiff
path: root/spec/commands/newgem_spec.rb
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-04-27 22:04:34 +0000
committerSamuel Giddins <segiddins@segiddins.me>2017-04-30 18:34:43 -0500
commitf836bcab768df362a21e607d837651ae6ee65b27 (patch)
treef7ce99de3f9219d5b888020747dbf306c941ce31 /spec/commands/newgem_spec.rb
parent87f81f3dfe47661ad74738eec15fdb2e0bbe1989 (diff)
downloadbundler-f836bcab768df362a21e607d837651ae6ee65b27.tar.gz
Auto merge of #5612 - bundler:seg-dont-require-thor-actions, r=indirect
[CLI] Avoid loading Thor::Actions when it is not used (cherry picked from commit 8552918f7faefc7f003d8a20979d5223bbd5b8ac)
Diffstat (limited to 'spec/commands/newgem_spec.rb')
-rw-r--r--spec/commands/newgem_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb
index 6ce19124f5..a3c3a36419 100644
--- a/spec/commands/newgem_spec.rb
+++ b/spec/commands/newgem_spec.rb
@@ -47,7 +47,7 @@ RSpec.describe "bundle gem" do
end
after do
- `rm "#{ENV["GIT_CONFIG"]}"` if File.exist?(ENV["GIT_CONFIG"])
+ FileUtils.rm(ENV["GIT_CONFIG"]) if File.exist?(ENV["GIT_CONFIG"])
ENV["GIT_CONFIG"] = @git_config_location
end