blob: e58be667b37e3af812dc759f1e4ec21ac41b9478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 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(:snowplow).send(:tracker).flush
end
end
|