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
1 changed files with 1 additions and 1 deletions

View File

@ -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