summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/check_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2021-12-21 14:50:44 +0900
committerHiroshi SHIBATA <[email protected]>2021-12-21 15:27:05 +0900
commit69dc2ea46538f47ff5edda3bb16863034bd19069 ()
treea4c545640fbdf31ab90f02a7def173840944806b /spec/bundler/commands/check_spec.rb
parentad450c9fe51c51626dd07f6e766f47d839cae3ba (diff)
Merge RubyGems-3.3.0 and Bundler-2.3.0
Notes: Merged: https://.com/ruby/ruby/pull/5317
-rw-r--r--spec/bundler/commands/check_spec.rb4
1 files changed, 2 insertions, 2 deletions
@@ -471,10 +471,10 @@ RSpec.describe "bundle check" do
end
context "is newer" do
- it "does not change the lock but warns" do
lockfile lock_with(Bundler::VERSION.succ)
bundle :check
- expect(err).to include("the running version of Bundler (#{Bundler::VERSION}) is older than the version that created the lockfile (#{Bundler::VERSION.succ})")
expect(lockfile).to eq lock_with(Bundler::VERSION.succ)
end
end