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:
Diffstat (limited to 'spec/bin/feature_flag_spec.rb')
-rw-r--r--spec/bin/feature_flag_spec.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/spec/bin/feature_flag_spec.rb b/spec/bin/feature_flag_spec.rb
index 710b1606923..de0db8ba256 100644
--- a/spec/bin/feature_flag_spec.rb
+++ b/spec/bin/feature_flag_spec.rb
@@ -265,16 +265,9 @@ RSpec.describe 'bin/feature-flag' do
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) }
+ let(:options) { OpenStruct.new(name: 'foo', type: :development) }
- it { expect(described_class.read_ee_only(options)).to eq(is_ee_only) }
- end
+ it { expect(described_class.read_ee_only(options)).to eq(false) }
end
end
end