Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-27 18:09:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-27 18:09:33 +0300
commitab421e159d39cf91a95f4a911821308d258e77d9 (patch)
tree5302fe495229b90d39e9ea5710fe5b91ee4e5a0b /spec/support/matchers
parentbbd945a9eaeaf8ff084fcd5f697902fe9f67ccdb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/matchers')
-rw-r--r--spec/support/matchers/match_file.rb2
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