summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb')
-rw-r--r--spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb b/spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb
new file mode 100644
index 00000000000..aaa576865f6
--- /dev/null
+++ b/spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe Gitlab::UsageDataCounters::StaticSiteEditorCounter do
+ it_behaves_like 'a redis usage counter', 'StaticSiteEditor', :views
+
+ it_behaves_like 'a redis usage counter with totals', :static_site_editor,
+ views: 3
+end