diff options
author | dstull <dstull@gitlab.com> | 2019-08-13 13:31:40 -0400 |
---|---|---|
committer | dstull <dstull@gitlab.com> | 2019-08-13 14:44:55 -0400 |
commit | 65b82e5b75e3dfaa9393939f08b90cf9affcc7d8 (patch) | |
tree | 496ad90acd72b06dfddb5f57e7690ab9d921914f /spec | |
parent | 76b345105a252a507c7993c95ab5f71316a89108 (diff) | |
download | gitlab-ce-ce-add-pendo-snippet.tar.gz |
Add pendo tracking code backport from eece-add-pendo-snippet
- 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.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |