summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-05-21 10:07:17 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-05-21 10:07:17 +0200
commitcd7702e5cd4ffcb1989d5fe758e3971a8952c5c0 (patch)
tree295bcfcdc3a3944ec29ce46da72d78739025d001
parentb5d7937e42126040733fead66f8bc3fabfb5fbe2 (diff)
downloadgitlab-ce-fix/gb/exclude-persisted-variables-from-environment-name.tar.gz
Fix Rubocop offense in create pipeline services :cop:fix/gb/exclude-persisted-variables-from-environment-name
-rw-r--r--spec/services/ci/create_pipeline_service_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/services/ci/create_pipeline_service_spec.rb b/spec/services/ci/create_pipeline_service_spec.rb
index be0255a2ccc..2b88fcc9a96 100644
--- a/spec/services/ci/create_pipeline_service_spec.rb
+++ b/spec/services/ci/create_pipeline_service_spec.rb
@@ -404,7 +404,8 @@ describe Ci::CreatePipelineService do
config = YAML.dump(
deploy: {
environment: { name: "review/id1$CI_PIPELINE_ID/id2$CI_BUILD_ID" },
- script: 'ls' }
+ script: 'ls'
+ }
)
stub_ci_pipeline_yaml_file(config)