From 099a59e8fd461a01b1b4f84583b46b4c7d6888e9 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 4 Jan 2018 13:11:24 +0100 Subject: [PATCH] Check if stage_id relation has been assigned only --- spec/lib/gitlab/import_export/project_tree_restorer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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