diff options
-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 |