• Yorick Peterse's avatar
    Refactor Gitlab::Identifier · 16ed9b61
    Yorick Peterse authored
    This refactors Gitlab::Identifier so it uses fewer queries and is
    actually tested. Queries are reduced by caching the output as well as
    using 1 query (instead of 2) to find a user using an SSH key.
    16ed9b61
identifier_spec.rb 3.38 KB