summaryrefslogtreecommitdiff
path: root/spec/features/projects/import_export/export_file_spec.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-01-30 12:26:49 +0100
committerJames Lopez <james@jameslopez.es>2017-01-30 12:34:32 +0100
commit1a2d13c821179a2707790d9c0e4585044462cd42 (patch)
tree45b3044bf8b7d76a757131c5260ed1cb107b6808 /spec/features/projects/import_export/export_file_spec.rb
parenteeb13c16d1f627eba10313bf5c4662416392feb3 (diff)
downloadgitlab-ce-1a2d13c821179a2707790d9c0e4585044462cd42.tar.gz
programmatically remove encrypted attributes. Added relevant spec.
Diffstat (limited to 'spec/features/projects/import_export/export_file_spec.rb')
-rw-r--r--spec/features/projects/import_export/export_file_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/import_export/export_file_spec.rb b/spec/features/projects/import_export/export_file_spec.rb
index 2fbfe045b7f..16dddb2a86b 100644
--- a/spec/features/projects/import_export/export_file_spec.rb
+++ b/spec/features/projects/import_export/export_file_spec.rb
@@ -74,8 +74,8 @@ feature 'Import/Export - project export integration test', feature: true, js: tr
Otherwise, please add the exception to +safe_list+ in CURRENT_SPEC using #{sensitive_word} as the key and the
correspondent hash or model as the value.
- Also, if the attribute is encrypted, please add it to either the list of excluded attributes in IMPORT_EXPORT_CONFIG
- or the model to RelationFactory::TOKEN_RESET_MODELS if it includes a token that can be reset.
+ Also, if the attribute is a generated unique token, please add it to RelationFactory::TOKEN_RESET_MODELS if it needs to be
+ reset (to prevent duplicate column problems while importing to the same instance).
IMPORT_EXPORT_CONFIG: #{Gitlab::ImportExport.config_file}
CURRENT_SPEC: #{__FILE__}