Skip to content

Commit

Permalink
Revert "create local dir before stubbing with error"
Browse files Browse the repository at this point in the history
This reverts commit d34343e.
  • Loading branch information
deivid-rodriguez committed Apr 29, 2021
1 parent 8d2ce9f commit 4c4aabf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bundler/spec/bundler/compact_index_client/updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

context "when bundler doesn't have permissions on Dir.tmpdir" do
it "Errno::EACCES is raised" do
local_path # create local path before stubbing mktmpdir
allow(Bundler::Dir).to receive(:mktmpdir) { raise Errno::EACCES }

expect do
Expand Down

0 comments on commit 4c4aabf

Please sign in to comment.