summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/services/snowplow_tracking_shared_examples.rb
blob: e72e8e79411629ef377ca8c2dcc355cd91131892 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

RSpec.shared_examples 'issue_edit snowplow tracking' do
  let(:category) { Gitlab::UsageDataCounters::IssueActivityUniqueCounter::ISSUE_CATEGORY }
  let(:action) { Gitlab::UsageDataCounters::IssueActivityUniqueCounter::ISSUE_ACTION }
  let(:label) { Gitlab::UsageDataCounters::IssueActivityUniqueCounter::ISSUE_LABEL }
  let(:namespace) { project.namespace }
  let(:feature_flag_name) { :route_hll_to_snowplow_phase2 }

  it_behaves_like 'Snowplow event tracking with RedisHLL context'
end