BigW Consortium Gitlab

Commit f5bfedc6 by Shinya Maeda

Fix lint

parent c3e0731d
...@@ -1893,8 +1893,12 @@ describe Ci::Build do ...@@ -1893,8 +1893,12 @@ 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,
options: { artifacts: { paths: ['binaries/'] } } ) :artifacts,
pipeline: pipeline,
name: 'test',
stage_idx: 0,
options: { artifacts: { paths: ['binaries/'] } } )
end end
context 'when artifacts of depended job has existsed' do context 'when artifacts of depended job has existsed' do
......
...@@ -294,8 +294,13 @@ module Ci ...@@ -294,8 +294,13 @@ 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,
options: { artifacts: { paths: ['binaries/'] } } ) :success,
:artifacts,
pipeline: pipeline,
name: job_name,
stage_idx: 0,
options: { artifacts: { paths: ['binaries/'] } } )
end end
context 'when artifacts of depended job has existsed' do context 'when artifacts of depended job has existsed' do
......
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