diff options
author | Rubén Dávila <ruben@gitlab.com> | 2017-10-05 02:44:49 +0300 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2017-10-05 16:26:02 +0300 |
commit | dd139e65b53f30eae2d8bb50dff180e8eab11fe4 (patch) | |
tree | 32411533b4ccfdfb6a2f08e2df0f2bb2b383e61d /spec/factories/gpg_signature.rb | |
parent | 2577cc99818bd0332aa78018de666579971341c8 (diff) |
Invalidate GpgSignatures associated to GpgKeySubkeys when revoking the GpgKey
Diffstat (limited to 'spec/factories/gpg_signature.rb')
-rw-r--r-- | spec/factories/gpg_signature.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/gpg_signature.rb b/spec/factories/gpg_signature.rb index c0beecf0bea..e9798ff6a41 100644 --- a/spec/factories/gpg_signature.rb +++ b/spec/factories/gpg_signature.rb @@ -5,7 +5,7 @@ FactoryGirl.define do commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) } project gpg_key - gpg_key_primary_keyid { gpg_key.primary_keyid } + gpg_key_primary_keyid { gpg_key.keyid } verification_status :verified end end |