diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-06 18:27:42 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 8c686475c85d4019467d119499593afdf0974edc (patch) | |
tree | 2c513c0bacdfc155298e1ac6bfdae168fd8c1ee0 /spec/bundler/install/deploy_spec.rb | |
parent | 94fc709dd19ec6c6396982fef06e9b7d3ce8ae48 (diff) | |
download | ruby-8c686475c85d4019467d119499593afdf0974edc.tar.gz |
[rubygems/rubygems] Migrate some specs to use "the new way"
The commands these specs run were throwing warnings in bundler 2, and
failing on bundler 3, effectively testing a different scenario to what
they were supposed to.
https://github.com/rubygems/rubygems/commit/97ac1ced49
Diffstat (limited to 'spec/bundler/install/deploy_spec.rb')
-rw-r--r-- | spec/bundler/install/deploy_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/bundler/install/deploy_spec.rb b/spec/bundler/install/deploy_spec.rb index 2f48437504..1f6abc23a5 100644 --- a/spec/bundler/install/deploy_spec.rb +++ b/spec/bundler/install/deploy_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "install with --deployment or --frozen" do +RSpec.describe "install in deployment or frozen mode" do before do gemfile <<-G source "#{file_uri_for(gem_repo1)}" @@ -67,7 +67,8 @@ RSpec.describe "install with --deployment or --frozen" do skip "doesn't find bundle" if Gem.win_platform? bundle! :install - bundle "install --deployment" + bundle "config --local deployment true" + bundle :install bundle! "exec bundle check", :env => { "PATH" => path } end |