summaryrefslogtreecommitdiff
path: root/spec/bundler/commands
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-11-08 12:37:24 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-09 10:34:48 +0900
commita1d0c048df2a4bd9fd85bd241fbf343f04ee2ae8 (patch)
tree847a137d1d860babb6882ebd33d2ecd0c02b3251 /spec/bundler/commands
parent28356c2870e1a9606cff998e2b888bd5bd517b37 (diff)
[rubygems/rubygems] Fix daily Bundler CI
Daily Bundler CI against ruby-head is failing because ruby-head now uses bigdecimal 3.1.5, so that gets locked by this spec. This change should make the test stable until bigdecimal 99.1.5 is bundled with Ruby :) https://github.com/rubygems/rubygems/commit/830326041f
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r--spec/bundler/commands/lock_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/lock_spec.rb b/spec/bundler/commands/lock_spec.rb
index fa89b98c8d..fd2462d4f3 100644
--- a/spec/bundler/commands/lock_spec.rb
+++ b/spec/bundler/commands/lock_spec.rb
@@ -387,7 +387,7 @@ RSpec.describe "bundle lock" do
build_gem "sequel", "5.72.0" do |s|
s.add_dependency "bigdecimal", ">= 0"
end
- build_gem "bigdecimal", %w[1.4.4 3.1.4]
+ build_gem "bigdecimal", %w[1.4.4 99.1.4]
end
gemfile <<~G
@@ -417,7 +417,7 @@ RSpec.describe "bundle lock" do
it "adds the latest version of the new dependency" do
bundle "lock --minor --update sequel"
- expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[sequel-5.72.0 bigdecimal-3.1.4].sort)
+ expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[sequel-5.72.0 bigdecimal-99.1.4].sort)
end
end