diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-25 03:06:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-25 03:06:02 +0000 |
commit | 543081566d10160511ef09e929195ef3f48f5fa3 (patch) | |
tree | 7c9078aa42eb450ca20bed02b74e8e15e4d2e5e5 /spec/lib/gitlab/import_export | |
parent | 6d43720a1a86ccca9618417a6d0415e7d522fa49 (diff) | |
download | gitlab-ce-543081566d10160511ef09e929195ef3f48f5fa3.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/import_export')
-rw-r--r-- | spec/lib/gitlab/import_export/project_tree_restorer_spec.rb | 4 |
1 files changed, 4 insertions, 0 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 676973ff5e7..ebd2c6089ce 100644 --- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb @@ -283,6 +283,10 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do it 'correctly restores association between a pipeline and a job' do expect(CommitStatus.all).to all(have_attributes(pipeline_id: a_value > 0)) end + + it 'restores a Hash for CommitStatus options' do + expect(CommitStatus.all.map(&:options).compact).to all(be_a(Hash)) + end end end end |