summaryrefslogtreecommitdiff
path: root/spec/support/gitlab_experiment.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-11 18:10:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-11 18:10:13 +0000
commite58ce90f147742c314b9cc08c2d1c0b585e39cf9 (patch)
tree467a1716bb63f4061e57b824c0e07532ca2fba4c /spec/support/gitlab_experiment.rb
parent62cd7010ef91dcaa5a5a36790985053db0b38671 (diff)
downloadgitlab-ce-e58ce90f147742c314b9cc08c2d1c0b585e39cf9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/gitlab_experiment.rb')
-rw-r--r--spec/support/gitlab_experiment.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/support/gitlab_experiment.rb b/spec/support/gitlab_experiment.rb
index b84adf82d29..3d099dc689c 100644
--- a/spec/support/gitlab_experiment.rb
+++ b/spec/support/gitlab_experiment.rb
@@ -4,16 +4,6 @@
require 'gitlab/experiment/rspec'
require_relative 'stub_snowplow'
-# This is a temporary fix until we have a larger discussion around the
-# challenges raised in https://gitlab.com/gitlab-org/gitlab/-/issues/300104
-require Rails.root.join('app', 'experiments', 'application_experiment')
-class ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass
- def initialize(...)
- super(...)
- Feature.persist_used!(feature_flag_name)
- end
-end
-
RSpec.configure do |config|
config.include StubSnowplow, :experiment