summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/check_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-12-15 08:32:54 +0900
committerHiroshi SHIBATA <[email protected]>2020-12-15 10:54:09 +0900
commit2fa9f3c0322570dfb1672b49bc1f3306ef595131 (patch)
treebdb2889c822e634f931d27f2ca81c6192e6e5b0e /spec/bundler/commands/check_spec.rb
parent7898f4243f5df9ead0bf91cc8c40907c559d18c0 (diff)
Prepare to release rubygems-3.2.1 and bundler-2.2.1
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3901
Diffstat (limited to 'spec/bundler/commands/check_spec.rb')
-rw-r--r--spec/bundler/commands/check_spec.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/bundler/commands/check_spec.rb b/spec/bundler/commands/check_spec.rb
index 5a746591b3..fdf3bc7d51 100644
--- a/spec/bundler/commands/check_spec.rb
+++ b/spec/bundler/commands/check_spec.rb
@@ -311,6 +311,8 @@ RSpec.describe "bundle check" do
end
before do
+ bundle "config set --local path vendor/bundle"
+
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rack"
@@ -336,9 +338,10 @@ RSpec.describe "bundle check" do
context "is older" do
it "does not change the lock" do
- lockfile lock_with("1.10.1")
- bundle :check, :raise_on_error => false
- lockfile_should_be lock_with("1.10.1")
+ system_gems "bundler-1.18.0"
+ lockfile lock_with("1.18.0")
+ bundle :check
+ lockfile_should_be lock_with("1.18.0")
end
end
end