diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 18:08:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 18:08:13 +0300 |
commit | 0a353a9fa386ad60374daa9bad56f41bb5491c33 (patch) | |
tree | 7e51c83535577744e3daccdcd4017069a5d6bb7a /spec/models/clusters | |
parent | 0c1344a7c19635e387e6f7af20591ad73f46ddff (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/clusters')
-rw-r--r-- | spec/models/clusters/platforms/kubernetes_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/models/clusters/platforms/kubernetes_spec.rb b/spec/models/clusters/platforms/kubernetes_spec.rb index b280275c2e5..efe511bf1c5 100644 --- a/spec/models/clusters/platforms/kubernetes_spec.rb +++ b/spec/models/clusters/platforms/kubernetes_spec.rb @@ -930,4 +930,13 @@ RSpec.describe Clusters::Platforms::Kubernetes do end end end + + describe '#authorization_type' do + subject(:kubernetes) { create(:cluster_platform_kubernetes) } + + let(:attr) { :authorization_type } + let(:attr_value) { :unknown_authorization } + + it_behaves_like 'having enum with nil value' + end end |