From 65b82e5b75e3dfaa9393939f08b90cf9affcc7d8 Mon Sep 17 00:00:00 2001 From: dstull Date: Tue, 13 Aug 2019 13:31:40 -0400 Subject: Add pendo tracking code backport from ee - This needs to be added in order to satisfy the idea of keeping the ce/ee codebases as much in line as possible. The pendo code will not be used in this codebase. --- spec/spec_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bcc133790d1..1a930886411 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -145,6 +145,12 @@ RSpec.configure do |config| .with(:force_autodevops_on_by_default, anything) .and_return(false) + # Disable Pendo tracking features by default as we do not want tests to send + # data to Pendo. + # Once we move away from Feature flag use for Pendo into using our built in + # feature flag setup, we can remove this. + stub_feature_flags(pendo_tracking: false) + Gitlab::ThreadMemoryCache.cache_backend.clear end -- cgit v1.2.1