summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-05-04 23:25:54 -0700
committerAndre Arko <andre@arko.net>2015-05-07 08:40:32 +0100
commit1d9f3763aabc842d50cc2a88c77b216c5be77c64 (patch)
treed87841b1134361e649d41abab4725dd1ac8d1708
parentde4f10b6f4e582b565d09844abb5d28f31f794e2 (diff)
downloadbundler-1d9f3763aabc842d50cc2a88c77b216c5be77c64.tar.gz
tmpdir used to be a stdlib
-rw-r--r--spec/install/gems/sudo_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb
index aa06584fb3..3e833960e2 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