diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-15 12:12:27 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-18 13:57:14 +0200 |
commit | a7a7e2d8f7779714b8d1ebdcb62d8757eeaba2bb (patch) | |
tree | 3f0c2052bf89ccc4f422f955c4f26f47dcd00aea | |
parent | 10a486b366a834b24c6eef432ec16af4237ec06d (diff) | |
download | gitlab-ce-a7a7e2d8f7779714b8d1ebdcb62d8757eeaba2bb.tar.gz |
Fix Rubocop offenses in YAML processor classes
-rw-r--r-- | lib/gitlab/ci/yaml_processor.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/ci/yaml_processor_spec.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/ci/yaml_processor.rb b/lib/gitlab/ci/yaml_processor.rb index 19951f1842e..3a7a2761db8 100644 --- a/lib/gitlab/ci/yaml_processor.rb +++ b/lib/gitlab/ci/yaml_processor.rb @@ -21,7 +21,6 @@ module Gitlab raise ValidationError, e.message end - def builds @jobs.map do |name, _| build_attributes(name) diff --git a/spec/lib/gitlab/ci/yaml_processor_spec.rb b/spec/lib/gitlab/ci/yaml_processor_spec.rb index f2dbfc3eeea..6637a235822 100644 --- a/spec/lib/gitlab/ci/yaml_processor_spec.rb +++ b/spec/lib/gitlab/ci/yaml_processor_spec.rb @@ -1694,7 +1694,7 @@ EOT end def pipeline(**attributes) - build_stubbed(:ci_empty_pipeline, **attributes) + build_stubbed(:ci_empty_pipeline, **attributes) end end end |