summaryrefslogtreecommitdiff
path: root/spec/models/merge_request
Commit message (Collapse)AuthorAgeFilesLines
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use `:empty_project` where possible in model specsrs-empty_project-modelsRobert Speicher2017-01-261-3/+1
|
* Add a be_like_time matcher and use it in specsNick Thomas2016-10-171-1/+1
| | | | | | The amount of precision times have in databases is variable, so we need tolerances when comparing in specs. It's better to have the tolerance defined in one place than several.
* Fix spec failures.Timothy Andrew2016-09-201-1/+1
|
* Test all cycle analytics pre-calculation code.Timothy Andrew2016-09-191-0/+18
All the code that pre-calculates metrics for use in the cycle analytics page. - Ci::Pipeline -> build start/finish - Ci::Pipeline#merge_requests - Issue -> record default metrics after save - MergeRequest -> record default metrics after save - Deployment -> Update "first_deployed_to_production_at" for MR metrics - Git Push -> Update "first commit mention" for issue metrics - Merge request create/update/refresh -> Update "merge requests closing issues"