debian-mirror-gitlab/spec/support/shared_examples/requests/api/tracking_shared_examples.rb
2021-01-29 00:20:46 +05:30

9 lines
249 B
Ruby

# 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)
end
end