diff options
Diffstat (limited to 'spec/bundler/bundler/gem_helper_spec.rb')
-rw-r--r-- | spec/bundler/bundler/gem_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler/gem_helper_spec.rb b/spec/bundler/bundler/gem_helper_spec.rb index f1bb9861cf..59feb5b8e9 100644 --- a/spec/bundler/bundler/gem_helper_spec.rb +++ b/spec/bundler/bundler/gem_helper_spec.rb @@ -172,7 +172,7 @@ RSpec.describe Bundler::GemHelper do it "calculates SHA512 of the content" do subject.build_checksum(Pathname(IO::NULL)) sha_path = app_path.join("checksums", "#{File.basename(IO::NULL)}.sha512") - expect(File.read(sha_path)).to eql(Digest::SHA512.hexdigest("")) + expect(File.read(sha_path).chomp).to eql(Digest::SHA512.hexdigest("")) end context "when build was successful" do |