Check if stage_id relation has been assigned only

This commit is contained in:
Grzegorz Bizon 2018-01-04 13:11:24 +01:00
parent 88cc49fa17
commit 099a59e8fd

View file

@ -188,7 +188,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
end end
it 'correctly restores association between a stage and a job' do 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 end
end end