From f88bb0e67db4b63e3b0f5d2d4cfe81276ef55e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 27 Jun 2024 13:17:55 +0200 Subject: [PATCH] [rubygems/rubygems] Reword some specs to disambiguate `chmod -x` from `chmod -w` https://github.com/rubygems/rubygems/commit/2954ab79a9 --- spec/bundler/commands/install_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb index 83bee136fe..ffb75bcb03 100644 --- a/spec/bundler/commands/install_spec.rb +++ b/spec/bundler/commands/install_spec.rb @@ -820,7 +820,7 @@ RSpec.describe "bundle install with gem sources" do end end - describe "when bundle path does not have write access", :permissions do + describe "when bundle path does not have cd permission", :permissions do let(:bundle_path) { bundled_app("vendor") } before do @@ -841,7 +841,7 @@ RSpec.describe "bundle install with gem sources" do end end - describe "when bundle gems path does not have write access", :permissions do + describe "when bundle gems path does not have cd permission", :permissions do let(:gems_path) { bundled_app("vendor/#{Bundler.ruby_scope}/gems") } before do @@ -871,7 +871,7 @@ RSpec.describe "bundle install with gem sources" do end end - describe "when bundle bin dir does not have write access", :permissions do + describe "when bundle bin dir does not have cd permission", :permissions do let(:bin_dir) { bundled_app("vendor/#{Bundler.ruby_scope}/bin") } before do @@ -931,7 +931,7 @@ RSpec.describe "bundle install with gem sources" do end end - describe "when the path of a specific gem is not writable", :permissions do + describe "when the path of a specific gem does not have cd permission", :permissions do let(:gems_path) { bundled_app("vendor/#{Bundler.ruby_scope}/gems") } let(:foo_path) { gems_path.join("foo-1.0.0") }