From e413e746afd20a7a0629c3e3c572d6d3dffc1c16 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Fri, 29 May 2020 12:46:16 +0200 Subject: [rubygems/rubygems] Remove `forgotten_command_line_usages` from specs Instead, use the non-deprecated option except when specifically testing deprecated CLI flags. In that case, pass the flag directly and limit the specs to `bundler < 3`. https://github.com/rubygems/rubygems/commit/3d5e186241 --- spec/bundler/install/gemfile/git_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/bundler/install/gemfile/git_spec.rb') diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb index d495ca2395..3c34bd4477 100644 --- a/spec/bundler/install/gemfile/git_spec.rb +++ b/spec/bundler/install/gemfile/git_spec.rb @@ -1043,7 +1043,8 @@ RSpec.describe "bundle install with git sources" do simulate_new_machine - bundle! :install, forgotten_command_line_options(:deployment => true) + bundle "config --local deployment true" + bundle! :install end end -- cgit v1.2.3