Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-09-12 14:12:30 +0300
committerPeter Leitzen <pleitzen@gitlab.com>2019-09-12 14:12:30 +0300
commit44dd3d2d6fea3a3fc9d8c6021227f59151e7dc4c (patch)
tree9bdf0a2f958e704edde148fb1bdfcb3d0e1f76d6 /spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb
parentc2e46802626d44d383c1a4aec344d01602b9e9ea (diff)
parentff7c992ebd03b8f81525fa074e465badcae682f2 (diff)
Merge branch 'track-usage-data-for-analytics-features' into 'master'12-3-auto-deploy-20190916
Setup counter for Productivity Analytics See merge request gitlab-org/gitlab-ce!32915
Diffstat (limited to 'spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb')
-rw-r--r--spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb b/spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb
new file mode 100644
index 00000000000..f4e92791728
--- /dev/null
+++ b/spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+describe Gitlab::UsageDataCounters::ProductivityAnalyticsCounter do
+ it_behaves_like 'a redis usage counter', 'ProductivityAnalytics', :views
+
+ it_behaves_like 'a redis usage counter with totals', :productivity_analytics, views: 3
+end