summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-26 14:15:05 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-26 14:15:05 +0200
commitf6bd832f3fb5a833422c7a08deda844f6e78ab93 (patch)
tree05e210393a578b5de04373a4668b182419c50dfb
parent53cad500433b69c77628ce020587fd5c9227690c (diff)
downloadgitlab-ce-f6bd832f3fb5a833422c7a08deda844f6e78ab93.tar.gz
Fix some code style offenses in pipeline chain classes
-rw-r--r--spec/lib/gitlab/ci/pipeline/chain/validate/config_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/chain/validate/config_spec.rb b/spec/lib/gitlab/ci/pipeline/chain/validate/config_spec.rb
index d5e885b7409..3740df88f42 100644
--- a/spec/lib/gitlab/ci/pipeline/chain/validate/config_spec.rb
+++ b/spec/lib/gitlab/ci/pipeline/chain/validate/config_spec.rb
@@ -76,8 +76,7 @@ describe Gitlab::Ci::Pipeline::Chain::Validate::Config do
{ rspec: {
script: 'ls',
only: ['something']
- }
- }
+ } }
end
let(:pipeline) do
@@ -95,7 +94,7 @@ describe Gitlab::Ci::Pipeline::Chain::Validate::Config do
end
context 'when pipeline contains configuration validation errors' do
- let(:config) { { rspec: { } } }
+ let(:config) { { rspec: {} } }
let(:pipeline) do
build(:ci_pipeline, project: project, config: config)