summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-12 14:05:58 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-12 14:05:58 +0100
commite60cdb2bad01a08749f706420710ff1db4f92483 (patch)
tree5fb421d6eec4822447bc7c79f7aac90d973fb7b6
parent140b5de76f2e23fc44333d55efb689ad27a81828 (diff)
downloadbundler-test_dir_in_tmp.tar.gz
Don't create `test_dir` folder in repo roottest_dir_in_tmp
-rw-r--r--spec/bundler/shared_helpers_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb
index 4b4d5f33f6..73adcf44d6 100644
--- a/spec/bundler/shared_helpers_spec.rb
+++ b/spec/bundler/shared_helpers_spec.rb
@@ -428,8 +428,8 @@ RSpec.describe Bundler::SharedHelpers do
let(:file_op_block) { proc {|path| FileUtils.mkdir_p(path) } }
it "performs the operation in the passed block" do
- subject.filesystem_access("./test_dir", &file_op_block)
- expect(Pathname.new("test_dir")).to exist
+ subject.filesystem_access(bundled_app("test_dir"), &file_op_block)
+ expect(bundled_app("test_dir")).to exist
end
end