diff options
Diffstat (limited to 'spec/factories/packages/helm/file_metadatum.rb')
-rw-r--r-- | spec/factories/packages/helm/file_metadatum.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/factories/packages/helm/file_metadatum.rb b/spec/factories/packages/helm/file_metadatum.rb index 3f599b5d5c0..590956e5d49 100644 --- a/spec/factories/packages/helm/file_metadatum.rb +++ b/spec/factories/packages/helm/file_metadatum.rb @@ -9,7 +9,11 @@ FactoryBot.define do package_file { association(:helm_package_file, without_loaded_metadatum: true) } sequence(:channel) { |n| "#{FFaker::Lorem.word}-#{n}" } metadata do - { 'name': package_file.package.name, 'version': package_file.package.version, 'apiVersion': 'v2' }.tap do |defaults| + { + 'name': package_file.package.name, + 'version': package_file.package.version, + 'apiVersion': 'v2' + }.tap do |defaults| defaults['description'] = description if description end end |