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-04 23:25:54 -0700
commit9bd2e5178cbebb26b3660d4a9d65f1ccd5ad9415 (patch)
tree03ea81ff360fc99573be57854f893883185b4afc
parent2b43de4b4746d7baf16d418f880b379884989ec0 (diff)
downloadbundler-9bd2e5178cbebb26b3660d4a9d65f1ccd5ad9415.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