summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-06 00:51:05 +0900
committerShinya Maeda <shinya@gitlab.com>2017-12-06 15:53:59 +0900
commitf5bfedc6122e00ed1182ad7caaeb7636eeebebe1 (patch)
tree6b1e2705a7ad3b6c9942e90b15546a65ba4774eb /spec
parentc3e0731d2efc777018b668d9e0b7f8aa2377d9fc (diff)
downloadgitlab-ce-f5bfedc6122e00ed1182ad7caaeb7636eeebebe1.tar.gz
Fix lint
Diffstat (limited to 'spec')
-rw-r--r--spec/models/ci/build_spec.rb8
-rw-r--r--spec/services/ci/register_job_service_spec.rb9
2 files changed, 13 insertions, 4 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 230546cf2da..6d33d0d917a 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1893,8 +1893,12 @@ describe Ci::Build do
context 'when "artifacts" keyword is specified on depended job' do
let!(:pre_stage_job) do
- create(:ci_build, :artifacts, pipeline: pipeline, name: 'test', stage_idx: 0,
- options: { artifacts: { paths: ['binaries/'] } } )
+ create(:ci_build,
+ :artifacts,
+ pipeline: pipeline,
+ name: 'test',
+ stage_idx: 0,
+ options: { artifacts: { paths: ['binaries/'] } } )
end
context 'when artifacts of depended job has existsed' do
diff --git a/spec/services/ci/register_job_service_spec.rb b/spec/services/ci/register_job_service_spec.rb
index b5f88d6cdbe..b86b9d7a42b 100644
--- a/spec/services/ci/register_job_service_spec.rb
+++ b/spec/services/ci/register_job_service_spec.rb
@@ -294,8 +294,13 @@ module Ci
context 'when "artifacts" keyword is specified on depended job' do
let!(:pre_stage_job) do
- create(:ci_build, :success, :artifacts, pipeline: pipeline, name: job_name, stage_idx: 0,
- options: { artifacts: { paths: ['binaries/'] } } )
+ create(:ci_build,
+ :success,
+ :artifacts,
+ pipeline: pipeline,
+ name: job_name,
+ stage_idx: 0,
+ options: { artifacts: { paths: ['binaries/'] } } )
end
context 'when artifacts of depended job has existsed' do