debian-mirror-gitlab/spec/support/shared_examples/requests/api/tracking_shared_examples.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
285 B
Ruby
Raw Normal View History

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