Updates spec setup for StagePresenter and Ci::Build - 5/10

What does this MR do and why?

As we are trying to remove the build.stage column, a lot of spec setup need to be updated in order for this to happen.

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

to

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

This is MR 5/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 Laura Montemayor

Merge request reports

Loading