diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-09-08 01:32:31 +1200 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-09-14 16:26:51 +1200 |
commit | 292d2208e093658bbbd95a0d36c7e40b62cc271c (patch) | |
tree | cadba6077fc2f17ce775f8fed88087bd339d7c4e /spec/support/services | |
parent | a02e35308b97d43964ebcf7fda040da418c04ddc (diff) | |
download | gitlab-ce-292d2208e093658bbbd95a0d36c7e40b62cc271c.tar.gz |
Add FE option for users to choose to create a fully RBAC-enabled cluster or not.
This is similar to the option in the Add Existing cluster form
Diffstat (limited to 'spec/support/services')
-rw-r--r-- | spec/support/services/clusters/create_service_shared.rb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/spec/support/services/clusters/create_service_shared.rb b/spec/support/services/clusters/create_service_shared.rb index b45ad3f6b8c..e2b5920d794 100644 --- a/spec/support/services/clusters/create_service_shared.rb +++ b/spec/support/services/clusters/create_service_shared.rb @@ -7,7 +7,8 @@ shared_context 'valid cluster create params' do gcp_project_id: 'gcp-project', zone: 'us-central1-a', num_nodes: 1, - machine_type: 'machine_type-a' + machine_type: 'machine_type-a', + legacy_abac: 'true' } } end @@ -50,16 +51,6 @@ shared_examples 'create cluster service success' do expect(subject.provider).to be_legacy_abac expect(subject.platform).to be_nil end - - context 'rbac_clusters feature is enabled' do - before do - stub_feature_flags(rbac_clusters: true) - end - - it 'has legacy_abac false' do - expect(subject.provider).not_to be_legacy_abac - end - end end shared_examples 'create cluster service error' do |