diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-27 18:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-27 18:09:33 +0300 |
commit | ab421e159d39cf91a95f4a911821308d258e77d9 (patch) | |
tree | 5302fe495229b90d39e9ea5710fe5b91ee4e5a0b /spec/support/matchers | |
parent | bbd945a9eaeaf8ff084fcd5f697902fe9f67ccdb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/matchers')
-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 |