Commit f5bfedc6 authored by Shinya Maeda's avatar Shinya Maeda

Fix lint

parent c3e0731d
...@@ -1893,7 +1893,11 @@ describe Ci::Build do ...@@ -1893,7 +1893,11 @@ describe Ci::Build do
context 'when "artifacts" keyword is specified on depended job' do context 'when "artifacts" keyword is specified on depended job' do
let!(:pre_stage_job) do let!(:pre_stage_job) do
create(:ci_build, :artifacts, pipeline: pipeline, name: 'test', stage_idx: 0, create(:ci_build,
:artifacts,
pipeline: pipeline,
name: 'test',
stage_idx: 0,
options: { artifacts: { paths: ['binaries/'] } } ) options: { artifacts: { paths: ['binaries/'] } } )
end end
......
...@@ -294,7 +294,12 @@ module Ci ...@@ -294,7 +294,12 @@ module Ci
context 'when "artifacts" keyword is specified on depended job' do context 'when "artifacts" keyword is specified on depended job' do
let!(:pre_stage_job) do let!(:pre_stage_job) do
create(:ci_build, :success, :artifacts, pipeline: pipeline, name: job_name, stage_idx: 0, create(:ci_build,
:success,
:artifacts,
pipeline: pipeline,
name: job_name,
stage_idx: 0,
options: { artifacts: { paths: ['binaries/'] } } ) options: { artifacts: { paths: ['binaries/'] } } )
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment