summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-04 10:21:36 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-04 10:21:36 +0200
commit339a1ad011f87fa969fd5ba644c504518924771a (patch)
tree153e466a0d5579fe271eb298317f273b24bd2828
parenta6ead9d17966dd0fca7c5810947eebf818d524b3 (diff)
downloadgitlab-ce-feature/gb/kubernetes-only-pipeline-jobs.tar.gz
Fix rubocop offense in CI/CD YAML processor specsfeature/gb/kubernetes-only-pipeline-jobs
-rw-r--r--spec/lib/ci/gitlab_ci_yaml_processor_spec.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
index c25800206b8..1efd3113a43 100644
--- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
@@ -171,8 +171,11 @@ module Ci
let(:config) do
YAML.dump(
spinach: { stage: 'test', script: 'spinach' },
- production: { stage: 'deploy', script: 'cap', only: {
- kubernetes: 'active' } }
+ production: {
+ stage: 'deploy',
+ script: 'cap',
+ only: { kubernetes: 'active' }
+ }
)
end