summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-04-24 14:31:20 +1200
committercharlieablett <cablett@gitlab.com>2019-04-24 14:31:20 +1200
commit7e6befc05de87ba44115bbae0274c65727f9c2b9 (patch)
tree33465e8177975f59044c46f7d1ef3f6e8feacc8c /spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
parentb8c3e60ea23cd8c6f32ed438fd3c155add47a8e1 (diff)
downloadgitlab-ce-7e6befc05de87ba44115bbae0274c65727f9c2b9.tar.gz
Add disallowed fields to AttributeCleaner
Diffstat (limited to 'spec/lib/gitlab/import_export/attribute_cleaner_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/attribute_cleaner_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb b/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
index 536cc359d39..99669285d5b 100644
--- a/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
+++ b/spec/lib/gitlab/import_export/attribute_cleaner_spec.rb
@@ -18,7 +18,11 @@ describe Gitlab::ImportExport::AttributeCleaner do
'notid' => 99,
'import_source' => 'whatever',
'import_type' => 'whatever',
- 'non_existent_attr' => 'whatever'
+ 'non_existent_attr' => 'whatever',
+ 'some_html' => '<p>dodgy html</p>',
+ 'legit_html' => '<p>legit html</p>',
+ '_html' => '<p>perfectly ordinary html</p>',
+ 'cached_markdown_version' => 12345
}
end