diff options
author | Imir Kiyamov <imir@MacBook-Pro-Imir-2.local> | 2023-08-27 21:45:57 +0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-08-28 07:41:51 +0000 |
commit | 23eb13d49daccd06e56d82884ac4bfd433f1b7be (patch) | |
tree | 07301ca739743b4888c08d8dd1470d47890ab67b /spec | |
parent | b0ec1db8a72c530460abd9462ac75845362886bd (diff) |
[rubygems/rubygems] Fixed malformed lockfile version on installing
https://github.com/rubygems/rubygems/commit/c969a192bf
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/runtime/self_management_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/bundler/runtime/self_management_spec.rb b/spec/bundler/runtime/self_management_spec.rb index 976437c332..3e49db4f32 100644 --- a/spec/bundler/runtime/self_management_spec.rb +++ b/spec/bundler/runtime/self_management_spec.rb @@ -129,6 +129,13 @@ RSpec.describe "Self management", :rubygems => ">= 3.3.0.dev", :realworld => tru expect(out).to eq(Bundler::VERSION[0] == "2" ? "Bundler version #{Bundler::VERSION}" : Bundler::VERSION) end + it "ignores malformed lockfile version" do + lockfile_bundled_with("2.3.") + + bundle "install --verbose" + expect(out).to include("Using bundler #{Bundler::VERSION}") + end + private def lockfile_bundled_with(version) |