Commit bdfbcff8 authored by Mark Chao's avatar Mark Chao

Merge branch '347100-fix-snowplow-spec' into 'master'

Clear memoized snowplow class

See merge request gitlab-org/gitlab!75825
parents 7f502df4 ffb8ec48
...@@ -13,6 +13,10 @@ RSpec.describe Gitlab::Tracking do ...@@ -13,6 +13,10 @@ RSpec.describe Gitlab::Tracking do
described_class.instance_variable_set("@snowplow", nil) described_class.instance_variable_set("@snowplow", nil)
end end
after do
described_class.instance_variable_set("@snowplow", nil)
end
describe '.options' do describe '.options' do
shared_examples 'delegates to destination' do |klass| shared_examples 'delegates to destination' do |klass|
before do before do
......
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