Commit 99fe9870 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Check only failed bridge jobs in serialization specs

parent 609328a2
......@@ -10,7 +10,7 @@ describe PipelineSerializer do
subject { serializer.represent(pipeline, details: true) }
context 'when pipeline contains bridge jobs' do
context 'when pipeline contains failed bridge jobs' do
let(:pipeline) do
create(:ci_empty_pipeline,
project: project,
......@@ -19,7 +19,7 @@ describe PipelineSerializer do
end
before do
create(:ci_bridge, pipeline: pipeline)
create(:ci_bridge, pipeline: pipeline, status: :failed)
end
it 'serializes bridge job correctly' 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