diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 18:29:23 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 17:08:51 +0900 |
commit | a56bf5bfdea991f3fb16a002da6284817e7867b8 (patch) | |
tree | 8e2c64aa86aa0e91a84036afe494a9e5b47470b2 | |
parent | 9c0fcd1d0fc6287795f957465b596a288708ab90 (diff) | |
download | ruby-a56bf5bfdea991f3fb16a002da6284817e7867b8.tar.gz |
[bundler/bundler] Cleanup in a location independent way
https://github.com/bundler/bundler/commit/5b503a4bf1
-rw-r--r-- | spec/bundler/quality_spec.rb | 2 |
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 |