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:
authorAlexis Reigel <mail@koffeinfrei.org>2017-06-15 13:43:04 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:42:53 +0300
commit5d5fd4babe4cb75c7f8f9f18cc86c63a0fa58d16 (patch)
tree928b5582a8119277bc61605175399820e555a374 /spec/models/gpg_signature_spec.rb
parent34810acd6c3d4dd27f43f6f07e47b4e06bb95f82 (diff)
store gpg_key_primary_keyid for unknown gpg keys
we need to store the keyid to be able to update the signature later in case the missing key is added later.
Diffstat (limited to 'spec/models/gpg_signature_spec.rb')
-rw-r--r--spec/models/gpg_signature_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/gpg_signature_spec.rb b/spec/models/gpg_signature_spec.rb
index d2720c41694..b3f84262874 100644
--- a/spec/models/gpg_signature_spec.rb
+++ b/spec/models/gpg_signature_spec.rb
@@ -10,5 +10,6 @@ RSpec.describe GpgSignature do
subject { described_class.new }
it { is_expected.to validate_presence_of(:commit_sha) }
it { is_expected.to validate_presence_of(:project) }
+ it { is_expected.to validate_presence_of(:gpg_key_primary_keyid) }
end
end