summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/model_configuration_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-30 09:06:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-30 09:06:31 +0000
commit94611567bd03083e0ecef7a582a174aa34844482 (patch)
tree5c720fd3bc8b244491a4c4d1303348ba2b6128f9 /spec/lib/gitlab/import_export/model_configuration_spec.rb
parent42572f63eab5db8dc39279e0deeeadef86180a71 (diff)
downloadgitlab-ce-94611567bd03083e0ecef7a582a174aa34844482.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/import_export/model_configuration_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/model_configuration_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/model_configuration_spec.rb b/spec/lib/gitlab/import_export/model_configuration_spec.rb
index 3442e22c11f..4426e68b474 100644
--- a/spec/lib/gitlab/import_export/model_configuration_spec.rb
+++ b/spec/lib/gitlab/import_export/model_configuration_spec.rb
@@ -12,9 +12,9 @@ describe 'Import/Export model configuration' do
# Remove duplicated or add missing models
# - project is not part of the tree, so it has to be added manually.
- # - milestone, labels have both singular and plural versions in the tree, so remove the duplicates.
+ # - milestone, labels, merge_request have both singular and plural versions in the tree, so remove the duplicates.
# - User, Author... Models we do not care about for checking models
- names.flatten.uniq - %w(milestones labels user author) + ['project']
+ names.flatten.uniq - %w(milestones labels user author merge_request) + ['project']
end
let(:all_models_yml) { 'spec/lib/gitlab/import_export/all_models.yml' }
let(:all_models_hash) { YAML.load_file(all_models_yml) }