summaryrefslogtreecommitdiff
path: root/spec/bundler/quality_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 18:29:23 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:51 +0900
commita56bf5bfdea991f3fb16a002da6284817e7867b8 (patch)
tree8e2c64aa86aa0e91a84036afe494a9e5b47470b2 /spec/bundler/quality_spec.rb
parent9c0fcd1d0fc6287795f957465b596a288708ab90 (diff)
[bundler/bundler] Cleanup in a location independent way
https://github.com/bundler/bundler/commit/5b503a4bf1
Diffstat (limited to 'spec/bundler/quality_spec.rb')
-rw-r--r--spec/bundler/quality_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb
index 3e6183ed9d..c3f2fe23b7 100644
--- a/spec/bundler/quality_spec.rb
+++ b/spec/bundler/quality_spec.rb
@@ -239,7 +239,7 @@ RSpec.describe "The library itself" do
expect(err).to be_empty, "bundler should build as a gem without warnings, but\n#{err}"
ensure
- FileUtils.rm("bundler-#{Bundler::VERSION}.gem")
+ root.join("bundler-#{Bundler::VERSION}.gem").rmtree
end
end
end