Commit 1e83055e authored by Kamil Trzciński's avatar Kamil Trzciński

Fix chain/create_spec.rb cross modification

parent 489bc112
......@@ -7,7 +7,7 @@ RSpec.describe Gitlab::Ci::Pipeline::Chain::Create do
let_it_be(:user) { create(:user) }
let(:pipeline) do
build(:ci_empty_pipeline, project: project, ref: 'master')
build(:ci_empty_pipeline, project: project, ref: 'master', user: user)
end
let(:command) do
......@@ -59,7 +59,7 @@ RSpec.describe Gitlab::Ci::Pipeline::Chain::Create do
context 'tags persistence' do
let(:stage) do
build(:ci_stage_entity, pipeline: pipeline)
build(:ci_stage_entity, pipeline: pipeline, project: project)
end
let(:job) do
......
- "./spec/lib/gitlab/ci/pipeline/chain/create_spec.rb"
- "./spec/models/ci/build_trace_chunk_spec.rb"
- "./spec/models/ci/job_artifact_spec.rb"
- "./spec/services/ci/retry_build_service_spec.rb"
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