summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-04 13:11:24 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-04 13:11:24 +0100
commit099a59e8fd461a01b1b4f84583b46b4c7d6888e9 (patch)
tree39cb386c148fb31d52fc21b9ad4852ff32eac3e0 /spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
parent88cc49fa17d212e087f6e8a5aec0b2a680cec6e3 (diff)
downloadgitlab-ce-099a59e8fd461a01b1b4f84583b46b4c7d6888e9.tar.gz
Check if stage_id relation has been assigned only
Diffstat (limited to 'spec/lib/gitlab/import_export/project_tree_restorer_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/project_tree_restorer_spec.rb2
1 files changed, 1 insertions, 1 deletions
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