summaryrefslogtreecommitdiff
path: root/spec/support/import_export
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-09-01 12:06:13 +0200
committerJames Lopez <james@jameslopez.es>2016-09-09 14:56:10 +0200
commit74cefffd067a90fc25f8c64c40f57c484785c5d0 (patch)
treeef066d1151d7807f7ef7e77c07cdb36d707b10e8 /spec/support/import_export
parentcb4ec41fd37a6d01d03a60487c9f6c84441b4eea (diff)
downloadgitlab-ce-74cefffd067a90fc25f8c64c40f57c484785c5d0.tar.gz
fixed spacing
Diffstat (limited to 'spec/support/import_export')
-rw-r--r--spec/support/import_export/export_file_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/import_export/export_file_helper.rb b/spec/support/import_export/export_file_helper.rb
index 5235a859d9b..8e56bca21a3 100644
--- a/spec/support/import_export/export_file_helper.rb
+++ b/spec/support/import_export/export_file_helper.rb
@@ -64,7 +64,7 @@ module ExportFileHelper
end
end
- #Return true if the hash has a key containing a sensitive word
+ # Return true if the hash has a key containing a sensitive word
def object_contains_key?(object, sensitive_key_word)
object.is_a?(Hash) && object.keys.any? { |key| key.include?(sensitive_key_word) }
end