diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-15 21:31:12 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-22 20:32:30 +0900 |
commit | c7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c (patch) | |
tree | b516b3b5119331d4d8431b4d17f552e2c8e798fe /spec/bundler/lock | |
parent | f4f157fc81b940c0f76a01ee266a08e6bba69b6b (diff) | |
download | ruby-c7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c.tar.gz |
Sync Bundler PR #3624
Diffstat (limited to 'spec/bundler/lock')
-rw-r--r-- | spec/bundler/lock/lockfile_spec.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/bundler/lock/lockfile_spec.rb b/spec/bundler/lock/lockfile_spec.rb index c4d06bd96e..1ec52d4238 100644 --- a/spec/bundler/lock/lockfile_spec.rb +++ b/spec/bundler/lock/lockfile_spec.rb @@ -28,6 +28,8 @@ RSpec.describe "the lockfile format" do end it "updates the lockfile's bundler version if current ver. is newer" do + system_gems "bundler-1.8.2" + lockfile <<-L GIT remote: git://github.com/nex3/haml.git @@ -50,7 +52,7 @@ RSpec.describe "the lockfile format" do 1.8.2 L - install_gemfile <<-G + install_gemfile <<-G, :env => { "BUNDLER_VERSION" => Bundler::VERSION } source "#{file_uri_for(gem_repo1)}" gem "rack" @@ -206,6 +208,8 @@ RSpec.describe "the lockfile format" do current_version = Bundler::VERSION older_major = previous_major(current_version) + system_gems "bundler-#{older_major}" + lockfile <<-L GEM remote: #{file_uri_for(gem_repo1)}/ @@ -222,7 +226,7 @@ RSpec.describe "the lockfile format" do #{older_major} L - install_gemfile <<-G + install_gemfile <<-G, :env => { "BUNDLER_VERSION" => Bundler::VERSION } source "#{file_uri_for(gem_repo1)}/" gem "rack" |