Skip to content

Updates spec setup for builds that have a stage - 2/10

Laura Montemayor requested to merge fix-build-stage-setup-in-specs-2 into master

What does this MR do and why?

In order to remove the stage column from ci_build, a lot of the specs' setup need to be updated.

From:
create(:ci_build) { (stage: 'name' ...

to

create(:ci_build) { (stage_id: stage.id ... OR create(:ci_build) { (ci_stage: stage...

There are no other changes in the MR except spec setup updates.

This is MR 2/10

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Max Orefice

Merge request reports