summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorTaurie Davis, Simon Knox and Adam Niedzielski <awesome@gitlab.com>2017-05-24 12:25:44 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-06-01 17:37:21 +0200
commit26dde5f55f1dac2e6bea4f7e1dfa51c72dc756cb (patch)
treef0168cb9ad0be7c4bf8657a5321e5da0bda8e83b /spec/factories
parentc72abcefe79dd906cbbf0088b442a8979e9fc746 (diff)
downloadgitlab-ce-26dde5f55f1dac2e6bea4f7e1dfa51c72dc756cb.tar.gz
Add Conversational Development Index page to admin panel
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/conversational_development_index_metrics.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/spec/factories/conversational_development_index_metrics.rb b/spec/factories/conversational_development_index_metrics.rb
new file mode 100644
index 00000000000..a5412629195
--- /dev/null
+++ b/spec/factories/conversational_development_index_metrics.rb
@@ -0,0 +1,33 @@
+FactoryGirl.define do
+ factory :conversational_development_index_metric, class: ConversationalDevelopmentIndex::Metric do
+ leader_issues 9.256
+ instance_issues 1.234
+
+ leader_notes 30.33333
+ instance_notes 28.123
+
+ leader_milestones 16.2456
+ instance_milestones 1.234
+
+ leader_boards 5.2123
+ instance_boards 3.254
+
+ leader_merge_requests 1.2
+ instance_merge_requests 0.6
+
+ leader_ci_pipelines 12.1234
+ instance_ci_pipelines 2.344
+
+ leader_environments 3.3333
+ instance_environments 2.2222
+
+ leader_deployments 1.200
+ instance_deployments 0.771
+
+ leader_projects_prometheus_active 0.111
+ instance_projects_prometheus_active 0.109
+
+ leader_service_desk_issues 15.891
+ instance_service_desk_issues 13.345
+ end
+end