diff options
author | Andre Arko <andre@arko.net> | 2015-05-04 23:25:54 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-05-07 08:40:32 +0100 |
commit | 1d9f3763aabc842d50cc2a88c77b216c5be77c64 (patch) | |
tree | d87841b1134361e649d41abab4725dd1ac8d1708 /spec/install/gems/sudo_spec.rb | |
parent | de4f10b6f4e582b565d09844abb5d28f31f794e2 (diff) | |
download | bundler-1d9f3763aabc842d50cc2a88c77b216c5be77c64.tar.gz |
tmpdir used to be a stdlib
Diffstat (limited to 'spec/install/gems/sudo_spec.rb')
-rw-r--r-- | spec/install/gems/sudo_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb index aa06584f..3e833960 100644 --- a/spec/install/gems/sudo_spec.rb +++ b/spec/install/gems/sudo_spec.rb @@ -111,6 +111,7 @@ describe "when using sudo", :sudo => true do end it "cleans up the tmpdirs generated" do + require 'tmpdir' Dir.glob("#{Dir.tmpdir}/bundler*").each do |tmpdir| FileUtils.remove_entry_secure(tmpdir) end |