[bundler/bundler] Cleanup in a location independent way

https://github.com/bundler/bundler/commit/5b503a4bf1
This commit is contained in:
David Rodríguez 2019-08-15 18:29:23 +02:00 committed by Hiroshi SHIBATA
parent 9c0fcd1d0f
commit a56bf5bfde
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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