summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/check_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-05-29 12:46:16 +0200
committerHiroshi SHIBATA <[email protected]>2020-06-05 07:32:42 +0900
commite413e746afd20a7a0629c3e3c572d6d3dffc1c16 ()
treedaf21fadda38ed3ea446d2fa0131cd50cf666353 /spec/bundler/commands/check_spec.rb
parent61b61f426a796871c27a0a9e4eedb31057864165 (diff)
[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://.com/rubygems/rubygems/commit/3d5e186241
Notes: Merged: https://.com/ruby/ruby/pull/3184
-rw-r--r--spec/bundler/commands/check_spec.rb6
1 files changed, 4 insertions, 2 deletions
@@ -123,7 +123,8 @@ RSpec.describe "bundle check" do
gem "rack", :group => :foo
G
- bundle :install, forgotten_command_line_options(:without => "foo")
gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
@@ -230,7 +231,8 @@ RSpec.describe "bundle check" do
gem "foo"
G
- bundle! "install", forgotten_command_line_options(:deployment => true)
FileUtils.rm(bundled_app_lock)
bundle :check