diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-12-05 18:49:53 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-12-05 18:49:53 +0000 |
commit | 5fedc46343d054df28ce81a320f33d1d43d02bc8 (patch) | |
tree | 6430cf07137df8cdc3715f90631c3f9b1279e233 /lib/api/issues.rb | |
parent | 4e96c53197e0521f13d9fb95692854fddeecf509 (diff) | |
parent | daf26fa0db66de0f3ef121ba362c5073c7f183e1 (diff) | |
download | gitlab-ce-5fedc46343d054df28ce81a320f33d1d43d02bc8.tar.gz |
Merge branch 'refactor-create-service-spec' into 'master'
Refactor create service spec
## What does this MR do?
Use let instead instance variables to cache create user operation.
Union some example into one.
## Are there points in the code the reviewer needs to double check?
## Why was this MR needed?
Time before: 1 minute 11.81 seconds
Time after: 52.47 seconds
- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- n/a [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- n/a API support added
- Tests
- n/a Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
## What are the relevant issue numbers?
See merge request !7609
Diffstat (limited to 'lib/api/issues.rb')
0 files changed, 0 insertions, 0 deletions