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

tracking_shared_examples.rb « api « requests « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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