summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/requests/api/tracking_shared_examples.rb
blob: af13e3fc14dc7e2eb8d712173e4df823e41e5ba5 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

RSpec.shared_examples 'a gitlab tracking event' do |category, action|
  it "creates a gitlab tracking event #{action}", :snowplow do
    subject

    expect_snowplow_event(category: category, action: action, **snowplow_standard_context_params)
  end
end