summaryrefslogtreecommitdiff
path: root/spec/models/group_spec.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-09-02 09:44:39 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-09-02 09:44:39 +0530
commit0910868d3cdd63d416f711df0f12ab67d4328130 (patch)
tree593bd78c086a5ccfd51c15ebec527042a5a3ba3a /spec/models/group_spec.rb
parent2f57eee7dabd10ebd31afd30dbfd6f4752135859 (diff)
downloadgitlab-ce-0910868d3cdd63d416f711df0f12ab67d4328130.tar.gz
Tweak cycle analytics query to match the current requirements.
- The `review` phase ends when a MR is merged, not "merged OR closed". - The `code` phase starts when a MR is first mentioned in a commit, and ends when a merge request closing the issue is created. - The `plan` phase ends when the issue first mentioned in a commit. --- - Fix the `median` function so it sorts the incoming data points. - A data point where `end_time` is prior to `start_time` is invalid.
Diffstat (limited to 'spec/models/group_spec.rb')
0 files changed, 0 insertions, 0 deletions