summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-08-13 21:56:58 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-03 23:38:37 +0900
commit6f8738db259f1f9b59e373ca98d8fe105d319257 (patch)
tree2dee24c921df77520b605e2bfbdae69fc46f339d
parentb4c9ccefd6a34a24dfc509966cd679063813100f (diff)
[rubygems/rubygems] Remove unnecessary install
Since the path is changed later by the `deployment` setting, it makes no difference. So just create a lockfile. https://github.com/rubygems/rubygems/commit/2dd6f65642
-rw-r--r--spec/bundler/commands/cache_spec.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/spec/bundler/commands/cache_spec.rb b/spec/bundler/commands/cache_spec.rb
index 6e05ea4f6d..6fffc05e27 100644
--- a/spec/bundler/commands/cache_spec.rb
+++ b/spec/bundler/commands/cache_spec.rb
@@ -296,7 +296,21 @@ RSpec.describe "bundle cache" do
source "https://gem.repo1"
gem "myrack"
G
- bundle "install"
+ lockfile <<-L
+ GEM
+ remote: https://gem.repo1/
+ specs:
+ myrack (1.0.0)
+
+ PLATFORMS
+ #{lockfile_platforms}
+
+ DEPENDENCIES
+ myrack
+
+ BUNDLED WITH
+ #{Bundler::VERSION}
+ L
end
it "tries to install with frozen" do