Commit 099a59e8 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Check if stage_id relation has been assigned only

parent 88cc49fa
......@@ -188,7 +188,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
end
it 'correctly restores association between a stage and a job' do
expect(pipeline.statuses).to all(have_attributes(stage_id: a_value > 10))
expect(pipeline.statuses).to all(have_attributes(stage_id: a_value > 0))
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