Commit 3282b956 authored by Peter Leitzen's avatar Peter Leitzen Committed by Markus Koller

Include SnowplowHelpers only when :snowplow metadata was provided

parent 5a04be1f
...@@ -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