BigW Consortium Gitlab

Commit 8808e7bc by Grzegorz Bizon

Add assertions about new pipeline stage in specs

parent 79380fe5
......@@ -48,6 +48,10 @@ describe Gitlab::Ci::Stage::Seed do
expect(pipeline.builds).to all(satisfy { |job| job.stage_id.present? })
expect(pipeline.builds).to all(satisfy { |job| job.pipeline.present? })
expect(pipeline.builds).to all(satisfy { |job| job.project.present? })
expect(pipeline.stages)
.to all(satisfy { |stage| stage.pipeline.present? })
expect(pipeline.stages)
.to all(satisfy { |stage| stage.project.present? })
end
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