diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-15 18:10:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-15 18:10:04 +0300 |
commit | 68d7192881c41305da9c6aa1e3f7dd8b47f286a7 (patch) | |
tree | 015aae6f32b30437718e76c663e8383a4a4d8a22 /spec/experiments/members | |
parent | 96acc69fae1ee7d559ba7eaa4e8304c8261525e3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/experiments/members')
-rw-r--r-- | spec/experiments/members/invite_email_experiment_spec.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/spec/experiments/members/invite_email_experiment_spec.rb b/spec/experiments/members/invite_email_experiment_spec.rb index ac4c05e3058..47ae6e529a1 100644 --- a/spec/experiments/members/invite_email_experiment_spec.rb +++ b/spec/experiments/members/invite_email_experiment_spec.rb @@ -39,20 +39,14 @@ RSpec.describe Members::InviteEmailExperiment, :clean_gitlab_redis_shared_state allow(instance_1).to receive(:enabled?).and_return(true) instance_2 = described_class.new('members/invite_email', **context) allow(instance_2).to receive(:enabled?).and_return(true) - instance_3 = described_class.new('members/invite_email', **context) - allow(instance_3).to receive(:enabled?).and_return(true) instance_1.try { } - expect(instance_1.variant.name).to eq('permission_info') + expect(instance_1.variant.name).to eq('control') instance_2.try { } - expect(instance_2.variant.name).to eq('control') - - instance_3.try { } - - expect(instance_3.variant.name).to eq('avatar') + expect(instance_2.variant.name).to eq('activity') end end |