summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Cook <dcook@gitlab.com>2019-06-14 09:34:39 -0500
committerDonald Cook <dcook@gitlab.com>2019-06-14 09:35:15 -0500
commitcc8fbbb9850fbf1ced8d5a4fd6a55209a71c01ef (patch)
tree7c3a8f2b7f59aefe17ebf51303767121f5c05306
parent84728314963bed039f8b37394c30d3a610efbd60 (diff)
downloadgitlab-ce-pendo-poc.tar.gz
Updated Pendo to check for test envpendo-poc
-rw-r--r--app/views/layouts/_head.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 19bb1b6c922..7535aee83a3 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -78,4 +78,4 @@
= render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')
= render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id')
= render_if_exists 'layouts/snowplow'
- = render_if_exists 'layouts/pendo' if Feature.enabled?(:pendo_tracking)
+ = render_if_exists 'layouts/pendo' if Feature.enabled?(:pendo_tracking) && !Rails.env.test?