summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/identifier_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removes idenfitication by commit from Gitlab::Identifier51335-fail-early-when-user-cannot-be-identifiedTiago Botelho2018-10-251-45/+4
| | | | | | | Before we would need to identify a user when pushing through the GitLab UI. Since this is no longer the case we can remove the identification by commit and instead, use the identify_using_user
* Allow git pull/push on project redirectsMayra Cabrera2017-12-081-0/+4
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-6/+6
|
* Use Commit#author so we share logic and cacheLin Jen-Shin2016-11-241-3/+2
| | | | Closes #24900
* update existing testElan Ruusamäe2016-11-061-1/+1
|
* Refactor Gitlab::IdentifierYorick Peterse2016-10-051-0/+123
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.