Fix NoMethodError when showing X.509 signature users
What does this MR do and why?
Describe in detail what your merge request does and why.
Fixes: #383885 (closed)
X509CommitSignature#user was renamed to X509CommitSignature#signed_by_user in !97248 (merged). However, due to an untested code path in the x509/_signature_badge_user haml template there was a missed reference that didn't get renamed. This MR renames the missed reference and also adds some basic tests.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brian Williams