summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-12-02 11:39:29 +0900
committergit <svn-admin@ruby-lang.org>2025-12-02 03:39:58 +0000
commit7df97983be41e893afee6d0012c6dced55ff98f8 (patch)
treed01a0a79df6f1b8e7a6d507ecc6d05d743674ac9 /spec
parente2d176556e36ae7911af3ff6163420a48b82af92 (diff)
[ruby/rubygems] Improve banner message for the default command.
Co-authored-by: Benoit Daloze <eregontp@gmail.com> https://github.com/ruby/rubygems/commit/463488b439 Co-authored-by: Patrik Ragnarsson <patrik@starkast.net>
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/cli_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/bundler/cli_spec.rb b/spec/bundler/bundler/cli_spec.rb
index ac6b77ad74..4503cea6a0 100644
--- a/spec/bundler/bundler/cli_spec.rb
+++ b/spec/bundler/bundler/cli_spec.rb
@@ -90,7 +90,7 @@ RSpec.describe "bundle executable" do
it "tries to installs by default but print help on missing Gemfile" do
bundle "", raise_on_error: false
expect(err).to include("Could not locate Gemfile")
- expect(out).to include("In the feature version of Bundler")
+ expect(out).to include("In a future version of Bundler")
expect(out).to include("Bundler version #{Bundler::VERSION}").
and include("\n\nBundler commands:\n\n").
@@ -102,7 +102,7 @@ RSpec.describe "bundle executable" do
it "runs bundle install when default_cli_command set to install" do
bundle "config set default_cli_command install_or_cli_help"
bundle "", raise_on_error: false
- expect(out).to_not include("In the feature version of Bundler")
+ expect(out).to_not include("In a future version of Bundler")
expect(err).to include("Could not locate Gemfile")
end
end