diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 10:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 10:08:36 +0300 |
commit | 48aff82709769b098321c738f3444b9bdaa694c6 (patch) | |
tree | e00c7c43e2d9b603a5a6af576b1685e400410dee /spec/bin | |
parent | 879f5329ee916a948223f8f43d77fba4da6cd028 (diff) |
Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42
Diffstat (limited to 'spec/bin')
-rw-r--r-- | spec/bin/feature_flag_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/bin/feature_flag_spec.rb b/spec/bin/feature_flag_spec.rb index 41117880f95..185a03fc587 100644 --- a/spec/bin/feature_flag_spec.rb +++ b/spec/bin/feature_flag_spec.rb @@ -240,5 +240,18 @@ RSpec.describe 'bin/feature-flag' do end end end + + describe '.read_ee_only' do + where(:type, :is_ee_only) do + :development | false + :licensed | true + end + + with_them do + let(:options) { OpenStruct.new(name: 'foo', type: type) } + + it { expect(described_class.read_ee_only(options)).to eq(is_ee_only) } + end + end end end |