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:
authorRobert Speicher <rspeicher@gmail.com>2018-11-21 21:32:04 +0300
committerRobert Speicher <rspeicher@gmail.com>2018-11-26 18:39:42 +0300
commit8afd0381229978faa5d3111e37656f7ebf63ab89 (patch)
tree9ea96fba4a2d44ab3dd0e1172352b79b6ddea091 /spec/support/helpers
parent9250de6aba0d9d1f0c0a0651c9d87d47570ac103 (diff)
Remove magic SHAs from GPG badge feature spec
We're trying to give the arbitrary SHAs required by each spec a meaningful name. This also adds an explicit `ref` definition to each spec so we're not dealing with a mystery guest.
Diffstat (limited to 'spec/support/helpers')
-rw-r--r--spec/support/helpers/gpg_helpers.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/support/helpers/gpg_helpers.rb b/spec/support/helpers/gpg_helpers.rb
index 3f7279a50e0..8d1637228d0 100644
--- a/spec/support/helpers/gpg_helpers.rb
+++ b/spec/support/helpers/gpg_helpers.rb
@@ -1,5 +1,9 @@
+# frozen_string_literal: true
+
module GpgHelpers
- SIGNED_COMMIT_SHA = '8a852d50dda17cc8fd1408d2fd0c5b0f24c76ca4'.freeze
+ SIGNED_COMMIT_SHA = '8a852d50dda17cc8fd1408d2fd0c5b0f24c76ca4'
+ SIGNED_AND_AUTHORED_SHA = '3c1d9a0266cb0c62d926f4a6c649beed561846f5'
+ DIFFERING_EMAIL_SHA = 'a17a9f66543673edf0a3d1c6b93bdda3fe600f32'
module User1
extend self