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:
Diffstat (limited to 'spec/models/commit_signatures/gpg_signature_spec.rb')
-rw-r--r--spec/models/commit_signatures/gpg_signature_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/commit_signatures/gpg_signature_spec.rb b/spec/models/commit_signatures/gpg_signature_spec.rb
index 605ad725dd7..1ffaaeba396 100644
--- a/spec/models/commit_signatures/gpg_signature_spec.rb
+++ b/spec/models/commit_signatures/gpg_signature_spec.rb
@@ -85,4 +85,10 @@ RSpec.describe CommitSignatures::GpgSignature do
end
end
end
+
+ describe '#user' do
+ it 'retrieves the gpg_key user' do
+ expect(signature.user).to eq(gpg_key.user)
+ end
+ end
end