diff options
Diffstat (limited to 'spec/bundler/update/git_spec.rb')
-rw-r--r-- | spec/bundler/update/git_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/bundler/update/git_spec.rb b/spec/bundler/update/git_spec.rb index eeae4079ca..bfc72b3546 100644 --- a/spec/bundler/update/git_spec.rb +++ b/spec/bundler/update/git_spec.rb @@ -309,6 +309,11 @@ RSpec.describe "bundle update" do bundle "update --source bar" + checksums = checksums_section_when_existing do |c| + c.no_checksum "foo", "2.0" + c.checksum gem_repo2, "rack", "1.0.0" + end + expect(lockfile).to eq <<~G GIT remote: #{@git.path} @@ -327,11 +332,7 @@ RSpec.describe "bundle update" do DEPENDENCIES foo! rack - - CHECKSUMS - foo (2.0) - #{checksum_for_repo_gem gem_repo2, "rack", "1.0.0"} - + #{checksums} BUNDLED WITH #{Bundler::VERSION} G |