diff options
author | Adam Hegyi <ahegyi@gitlab.com> | 2019-09-12 14:12:29 +0300 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-09-12 14:12:29 +0300 |
commit | ff7c992ebd03b8f81525fa074e465badcae682f2 (patch) | |
tree | 9bdf0a2f958e704edde148fb1bdfcb3d0e1f76d6 /spec/lib/gitlab/usage_data_counters | |
parent | c2e46802626d44d383c1a4aec344d01602b9e9ea (diff) |
Setup counter for Productivity Analytics
This change sets up a usage counter for productivity analytics feature.
Diffstat (limited to 'spec/lib/gitlab/usage_data_counters')
-rw-r--r-- | spec/lib/gitlab/usage_data_counters/productivity_analytics_counter_spec.rb | 9 |
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 |