diff options
Diffstat (limited to 'spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb')
-rw-r--r-- | spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb b/spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb index 5b1db66beb0..af61d9c8261 100644 --- a/spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb +++ b/spec/lib/security/ci_configuration/container_scanning_build_action_spec.rb @@ -39,7 +39,7 @@ RSpec.describe Security::CiConfiguration::ContainerScanningBuildAction do context 'template includes are an array' do let(:gitlab_ci_content) do - { "stages" => %w(test security), + { "stages" => %w[test security], "variables" => { "RANDOM" => "make sure this persists" }, "include" => [{ "template" => "existing.yml" }] } end @@ -52,7 +52,7 @@ RSpec.describe Security::CiConfiguration::ContainerScanningBuildAction do context 'template include is not an array' do let(:gitlab_ci_content) do - { "stages" => %w(test security), + { "stages" => %w[test security], "variables" => { "RANDOM" => "make sure this persists" }, "include" => { "template" => "existing.yml" } } end @@ -91,7 +91,7 @@ RSpec.describe Security::CiConfiguration::ContainerScanningBuildAction do context 'container_scanning template include are an array' do let(:gitlab_ci_content) do - { "stages" => %w(test), + { "stages" => %w[test], "variables" => { "RANDOM" => "make sure this persists" }, "include" => [{ "template" => "Jobs/Container-Scanning.gitlab-ci.yml" }] } end @@ -104,7 +104,7 @@ RSpec.describe Security::CiConfiguration::ContainerScanningBuildAction do context 'container_scanning template include is not an array' do let(:gitlab_ci_content) do - { "stages" => %w(test), + { "stages" => %w[test], "variables" => { "RANDOM" => "make sure this persists" }, "include" => { "template" => "Jobs/Container-Scanning.gitlab-ci.yml" } } end |