diff options
Diffstat (limited to 'spec/support/matchers/match_file.rb')
-rw-r--r-- | spec/support/matchers/match_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/match_file.rb b/spec/support/matchers/match_file.rb index 4e522b52912..0c1f95d45f5 100644 --- a/spec/support/matchers/match_file.rb +++ b/spec/support/matchers/match_file.rb @@ -2,6 +2,6 @@ RSpec::Matchers.define :match_file do |expected| match do |actual| - expect(Digest::MD5.hexdigest(actual)).to eq(Digest::MD5.hexdigest(File.read(expected))) + expect(Digest::SHA256.hexdigest(actual)).to eq(Digest::SHA256.hexdigest(File.read(expected))) end end |