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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-08 00:17:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-08 00:17:37 +0300
commitf0b862a98200720a23fe3ed2807f4bb911f30d6d (patch)
tree0a974ff74e5871aad64bae55f0e1fb9c77129f67 /spec/experiments
parent8bac8f55ba93bb03f7391b939dc6644e67fe5216 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/experiments')
-rw-r--r--spec/experiments/new_project_sast_enabled_experiment_spec.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/experiments/new_project_sast_enabled_experiment_spec.rb b/spec/experiments/new_project_sast_enabled_experiment_spec.rb
index 38f58c01973..041e5dfa469 100644
--- a/spec/experiments/new_project_sast_enabled_experiment_spec.rb
+++ b/spec/experiments/new_project_sast_enabled_experiment_spec.rb
@@ -4,7 +4,12 @@ require 'spec_helper'
RSpec.describe NewProjectSastEnabledExperiment do
it "defines the expected behaviors and variants" do
- expect(subject.behaviors.keys).to match_array(%w[control candidate free_indicator unchecked_candidate])
+ expect(subject.variant_names).to match_array([
+ :candidate,
+ :free_indicator,
+ :unchecked_candidate,
+ :unchecked_free_indicator
+ ])
end
it "publishes to the database" do