diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-04 12:11:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-04 12:11:02 +0300 |
commit | 5f95234f7babb69685710dbfc637f29eeac2a917 (patch) | |
tree | 703240ac11f4565a81c505aa10821fbbd506d888 /spec/experiments | |
parent | 18160560396d57c07a9525eb033e66afb1f07674 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/experiments')
-rw-r--r-- | spec/experiments/force_company_trial_experiment_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/experiments/force_company_trial_experiment_spec.rb b/spec/experiments/force_company_trial_experiment_spec.rb deleted file mode 100644 index 42a3245771a..00000000000 --- a/spec/experiments/force_company_trial_experiment_spec.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe ForceCompanyTrialExperiment, :experiment do - subject { described_class.new(current_user: user) } - - let(:user) { create(:user, setup_for_company: setup_for_company) } - let(:setup_for_company) { true } - - context 'when a user is setup_for_company' do - it 'is not excluded' do - expect(subject).not_to exclude(user: user) - end - end - - context 'when a user is not setup_for_company' do - let(:setup_for_company) { nil } - - it 'is excluded' do - expect(subject).to exclude(user: user) - end - end -end |