summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 18:08:05 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 18:08:05 +0000
commitf32a580aa1560a8beaec6a8640077cc50a6ed904 (patch)
treee3e14009292099c29744c9ce7e5cd6b3d869c665 /spec/lib
parenta5ab3467a705b62911feacc3cf627fdbb00aa198 (diff)
downloadgitlab-ce-f32a580aa1560a8beaec6a8640077cc50a6ed904.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/import_export/attribute_cleaner_spec.rb15
1 files changed, 13 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb b/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
index 44192c4639d..12857f97f7c 100644
--- a/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
+++ b/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
@@ -25,11 +25,21 @@ describe Gitlab::ImportExport::AttributeCleaner do
'legit_html' => '<p>legit html</p>',
'_html' => '<p>perfectly ordinary html</p>',
'cached_markdown_version' => 12345,
+ 'custom_attributes' => 'whatever',
+ 'some_attributes_metadata' => 'whatever',
'group_id' => 99,
'commit_id' => 99,
'issue_ids' => [1, 2, 3],
'merge_request_ids' => [1, 2, 3],
- 'note_ids' => [1, 2, 3]
+ 'note_ids' => [1, 2, 3],
+ 'attributes' => {
+ 'issue_ids' => [1, 2, 3],
+ 'merge_request_ids' => [1, 2, 3],
+ 'note_ids' => [1, 2, 3]
+ },
+ 'variables_attributes' => {
+ 'id' => 1
+ }
}
end
@@ -40,7 +50,8 @@ describe Gitlab::ImportExport::AttributeCleaner do
'random_id_in_the_middle' => 99,
'notid' => 99,
'group_id' => 99,
- 'commit_id' => 99
+ 'commit_id' => 99,
+ 'custom_attributes' => 'whatever'
}
end