diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-08-13 21:58:12 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-09-03 23:38:37 +0900 |
| commit | 2052dd1cfc2f8241b89ae017ba60a096989a7be8 (patch) | |
| tree | f5a0f7bd2384043dbcd94742442f0d7ca77dd949 | |
| parent | 6f8738db259f1f9b59e373ca98d8fe105d319257 (diff) | |
[rubygems/rubygems] It's not necessary to set `deployment`
https://github.com/rubygems/rubygems/commit/eaa51203ca
| -rw-r--r-- | spec/bundler/commands/cache_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/bundler/commands/cache_spec.rb b/spec/bundler/commands/cache_spec.rb index 6fffc05e27..973cf5add5 100644 --- a/spec/bundler/commands/cache_spec.rb +++ b/spec/bundler/commands/cache_spec.rb @@ -311,23 +311,22 @@ RSpec.describe "bundle cache" do BUNDLED WITH #{Bundler::VERSION} L + bundle "config set --local frozen true" end it "tries to install with frozen" do - bundle "config set deployment true" gemfile <<-G source "https://gem.repo1" gem "myrack" gem "myrack-obama" G - bundle "config set --local frozen true" bundle :cache, raise_on_error: false expect(exitstatus).to eq(16) expect(err).to include("frozen mode") expect(err).to include("You have added to the Gemfile") expect(err).to include("* myrack-obama") bundle "env" - expect(out).to include("frozen").or include("deployment") + expect(out).to include("frozen") end end |
