diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
commit | 585826cb22ecea5998a2c2a4675735c94bdeedac (patch) | |
tree | 5b05f0b30d33cef48963609e8a18a4dff260eab3 /spec/lib/gitlab/kubernetes | |
parent | df221d036e5d0c6c0ee4d55b9c97f481ee05dee8 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-eev16.6.0-rc42
Diffstat (limited to 'spec/lib/gitlab/kubernetes')
-rw-r--r-- | spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb | 4 | ||||
-rw-r--r-- | spec/lib/gitlab/kubernetes/role_spec.rb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb b/spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb index 3028e0a13aa..f88f7c4c108 100644 --- a/spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb +++ b/spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb @@ -7,7 +7,7 @@ require_relative '../../../../lib/gitlab/kubernetes/pod_cmd' RSpec.describe Gitlab::Kubernetes::KubectlCmd do describe '.delete' do it 'constructs string properly' do - args = %w(resource_type type --flag-1 --flag-2) + args = %w[resource_type type --flag-1 --flag-2] expected_command = 'kubectl delete resource_type type --flag-1 --flag-2' @@ -31,7 +31,7 @@ RSpec.describe Gitlab::Kubernetes::KubectlCmd do context 'with optional args' do it 'constructs command properly with many args' do - args = %w(arg-1 --flag-0-1 arg-2 --flag-0-2) + args = %w[arg-1 --flag-0-1 arg-2 --flag-0-2] expected_command = 'kubectl apply -f filename arg-1 --flag-0-1 arg-2 --flag-0-2' diff --git a/spec/lib/gitlab/kubernetes/role_spec.rb b/spec/lib/gitlab/kubernetes/role_spec.rb index acb9b5d4e8e..288a5406372 100644 --- a/spec/lib/gitlab/kubernetes/role_spec.rb +++ b/spec/lib/gitlab/kubernetes/role_spec.rb @@ -9,9 +9,9 @@ RSpec.describe Gitlab::Kubernetes::Role do let(:rules) do [{ - apiGroups: %w(hello.world), - resources: %w(oil diamonds coffee), - verbs: %w(say do walk run) + apiGroups: %w[hello.world], + resources: %w[oil diamonds coffee], + verbs: %w[say do walk run] }] end |