diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb index d4342f2b1a8..70a6d1a3c6a 100644 --- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb @@ -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