From 5b503a4bf1047a231c7b34d1502677264ed9e554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 15 Aug 2019 18:29:23 +0200 Subject: Cleanup in a location independent way --- spec/quality_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index 3e6183ed9d..c3f2fe23b7 100644 --- a/spec/quality_spec.rb +++ b/spec/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 -- cgit v1.2.1