summaryrefslogtreecommitdiff
path: root/spec/support/stub_snowplow.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/stub_snowplow.rb')
-rw-r--r--spec/support/stub_snowplow.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/stub_snowplow.rb b/spec/support/stub_snowplow.rb
index a21ce2399d7..c6e3b40972f 100644
--- a/spec/support/stub_snowplow.rb
+++ b/spec/support/stub_snowplow.rb
@@ -8,8 +8,6 @@ module StubSnowplow
host = 'localhost'
# rubocop:disable RSpec/AnyInstanceOf
- allow_any_instance_of(Gitlab::Tracking::Destinations::ProductAnalytics).to receive(:event)
-
allow_any_instance_of(Gitlab::Tracking::Destinations::Snowplow)
.to receive(:emitter)
.and_return(SnowplowTracker::Emitter.new(host, buffer_size: buffer_size))