diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-06-15 12:43:04 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:42:53 +0200 |
commit | 5d5fd4babe4cb75c7f8f9f18cc86c63a0fa58d16 (patch) | |
tree | 928b5582a8119277bc61605175399820e555a374 /spec/models/gpg_signature_spec.rb | |
parent | 34810acd6c3d4dd27f43f6f07e47b4e06bb95f82 (diff) | |
download | gitlab-ce-5d5fd4babe4cb75c7f8f9f18cc86c63a0fa58d16.tar.gz |
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.rb | 1 |
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 |