Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/gon_helper_spec.rb')
-rw-r--r--spec/lib/gitlab/gon_helper_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/lib/gitlab/gon_helper_spec.rb b/spec/lib/gitlab/gon_helper_spec.rb
index d9dcae3cdc7..de81e54a206 100644
--- a/spec/lib/gitlab/gon_helper_spec.rb
+++ b/spec/lib/gitlab/gon_helper_spec.rb
@@ -202,19 +202,6 @@ RSpec.describe Gitlab::GonHelper do
helper.add_browsersdk_tracking
end
end
-
- context 'when feature flag is false' do
- before do
- stub_feature_flags(gl_analytics_tracking: false)
- end
-
- it "doesn't set the analytics_url and analytics_id" do
- expect(gon).not_to receive(:analytics_url=)
- expect(gon).not_to receive(:analytics_id=)
-
- helper.add_browsersdk_tracking
- end
- end
end
context 'when environment variables are not set' do