diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-04 14:06:07 +0200 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-04 22:31:01 +0200 |
commit | eea26a93e7d4ac0c6fefe46592c9baa0d3e6a5cd (patch) | |
tree | f0e0c3ee9664426661f97d5bd94d094bc00117e8 /spec/initializers | |
parent | b8370c9f55843351b49073dafe84a2e9858c8c8a (diff) | |
download | gitlab-ce-eea26a93e7d4ac0c6fefe46592c9baa0d3e6a5cd.tar.gz |
Update validatorpresigned-multipart-uploads
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/direct_upload_support_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/initializers/direct_upload_support_spec.rb b/spec/initializers/direct_upload_support_spec.rb index f124e726bac..e51d404e030 100644 --- a/spec/initializers/direct_upload_support_spec.rb +++ b/spec/initializers/direct_upload_support_spec.rb @@ -6,7 +6,7 @@ describe 'Direct upload support' do end where(:config_name) do - ['lfs', 'artifacts', 'uploads'] + %w(lfs artifacts uploads) end with_them do @@ -23,8 +23,9 @@ describe 'Direct upload support' do end before do - allow(Gitlab.config).to receive_messages(to_settings( - config_name => { object_store: object_store })) + allow(Gitlab.config).to receive_messages(to_settings(config_name => { + object_store: object_store + })) end context 'when object storage is enabled' do |