summaryrefslogtreecommitdiff
path: root/spec/uploaders
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2019-03-29 23:54:44 +0100
committerBastian Blank <waldi@debian.org>2019-03-30 14:55:33 +0100
commitb82ccf2cbc074e36c78dd1e331c6745cb9b71349 (patch)
treea81e417dfd8ac9f087d833fab7ce72375001c6d3 /spec/uploaders
parent50a1e01fa8959b08df8bfc18940f9310876873b3 (diff)
downloadgitlab-ce-b82ccf2cbc074e36c78dd1e331c6745cb9b71349.tar.gz
Don't try to set any ACL on uploaded objects
Set ACL of uploaded objects to not-public (fog-aws) or no ACL at all (fog-google). Value is ignored by other supported backends (fog-aliyun, fog-openstack, fog-rackspace) This allows uploads to GCS with ACL support disabled.
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/object_storage_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/object_storage_spec.rb b/spec/uploaders/object_storage_spec.rb
index 533e9d87ea6..9ce9a353913 100644
--- a/spec/uploaders/object_storage_spec.rb
+++ b/spec/uploaders/object_storage_spec.rb
@@ -375,7 +375,7 @@ describe ObjectStorage do
describe '#fog_public' do
subject { uploader.fog_public }
- it { is_expected.to eq(false) }
+ it { is_expected.to eq(nil) }
end
describe '.workhorse_authorize' do