Commit bd9df66a authored by Markus Koller's avatar Markus Koller

Merge branch 'pl-spec-snowplow-helper-include' into 'master'

Include SnowplowHelpers only when :snowplow metadata was provided

See merge request gitlab-org/gitlab!47177
parents 6a0db429 3282b956
...@@ -130,7 +130,6 @@ RSpec.configure do |config| ...@@ -130,7 +130,6 @@ RSpec.configure do |config|
config.include StubExperiments config.include StubExperiments
config.include StubGitlabCalls config.include StubGitlabCalls
config.include StubGitlabData config.include StubGitlabData
config.include SnowplowHelpers
config.include NextFoundInstanceOf config.include NextFoundInstanceOf
config.include NextInstanceOf config.include NextInstanceOf
config.include TestEnv config.include TestEnv
......
# frozen_string_literal: true # frozen_string_literal: true
RSpec.configure do |config| RSpec.configure do |config|
config.include SnowplowHelpers, :snowplow
config.before(:each, :snowplow) do config.before(:each, :snowplow) do
# Using a high buffer size to not cause early flushes # Using a high buffer size to not cause early flushes
buffer_size = 100 buffer_size = 100
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment