2021-01-03 14:25:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
RSpec.shared_examples 'a gitlab tracking event' do |category, action|
|
2021-01-29 00:20:46 +05:30
|
|
|
it "creates a gitlab tracking event #{action}", :snowplow do
|
2021-01-03 14:25:43 +05:30
|
|
|
subject
|
2021-01-29 00:20:46 +05:30
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
expect_snowplow_event(category: category, action: action, **snowplow_standard_context_params)
|
2021-01-03 14:25:43 +05:30
|
|
|
end
|
|
|
|
end
|