aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-11-23 22:53:35 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-27 15:04:40 +0900
commitbd4bd61650403121dc1fc29fab850d048d851a55 (patch)
tree82dc118ac28b5a21b420b83d4e66a1e22abe5c9b /spec/bundler
parent60803e192eebd1048f28ea5ba2a2f2c753424dad (diff)
downloadruby-bd4bd61650403121dc1fc29fab850d048d851a55.tar.gz
[rubygems/rubygems] Simplify remembered flags deprecation message
Configuration is now local by default. https://github.com/rubygems/rubygems/commit/6bc7709aa8
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/other/major_deprecation_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb
index baec67ec34..f6d5325299 100644
--- a/spec/bundler/other/major_deprecation_spec.rb
+++ b/spec/bundler/other/major_deprecation_spec.rb
@@ -125,7 +125,7 @@ RSpec.describe "major deprecations" do
expect(deprecations).to include(
"The `--path` flag is deprecated because it relies on being " \
"remembered across bundler invocations, which bundler will no " \
- "longer do in future versions. Instead please use `bundle config set --local " \
+ "longer do in future versions. Instead please use `bundle config set " \
"path 'vendor/bundle'`, and stop using this flag"
)
end
@@ -147,7 +147,7 @@ RSpec.describe "major deprecations" do
expect(deprecations).to include(
"The `--path` flag is deprecated because it relies on being " \
"remembered across bundler invocations, which bundler will no " \
- "longer do in future versions. Instead please use `bundle config set --local " \
+ "longer do in future versions. Instead please use `bundle config set " \
"path 'vendor/bundle'`, and stop using this flag"
)
end
@@ -395,7 +395,7 @@ RSpec.describe "major deprecations" do
"The `#{flag_name}` flag is deprecated because it relies on " \
"being remembered across bundler invocations, which bundler " \
"will no longer do in future versions. Instead please use " \
- "`bundle config set --local #{option_name} '#{value}'`, and stop using this flag"
+ "`bundle config set #{option_name} '#{value}'`, and stop using this flag"
)
end