gitlab-org--gitlab-foss/spec/support/snowplow.rb

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

17 lines
344 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require_relative 'stub_snowplow'
RSpec.configure do |config|
config.include SnowplowHelpers, :snowplow
config.include StubSnowplow, :snowplow
config.before(:each, :snowplow) do
stub_snowplow
end
config.after(:each, :snowplow) do
Gitlab::Tracking.send(:tracker).send(:tracker).flush
end
end