summaryrefslogtreecommitdiff
path: root/spec/features/gitlab_experiments_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/gitlab_experiments_spec.rb')
-rw-r--r--spec/features/gitlab_experiments_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/gitlab_experiments_spec.rb b/spec/features/gitlab_experiments_spec.rb
index ca772680ff6..af14b6e2e95 100644
--- a/spec/features/gitlab_experiments_spec.rb
+++ b/spec/features/gitlab_experiments_spec.rb
@@ -21,8 +21,8 @@ RSpec.describe "Gitlab::Experiment", :js do
allow_next_instance_of(Admin::AbuseReportsController) do |instance|
allow(instance).to receive(:index).and_wrap_original do |original|
instance.experiment(:null_hypothesis, user: instance.current_user) do |e|
- e.use { original.call }
- e.try { original.call }
+ e.control { original.call }
+ e.candidate { original.call }
end
end
end