diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-02 20:15:15 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-01-02 20:15:15 +0300 |
commit | bf38936fb34e18e18cb4ed81f4fb35ac9420bfd6 (patch) | |
tree | 98358e01006483b6490e0d5b5b025dee994e9473 /spec/requests | |
parent | 33a9c35b58cdded45e83ba3cd4b161b5d51ffcab (diff) | |
parent | d2d85c31fea920b0e62fb600fc6de874762a71ad (diff) |
Merge branch 'mk/avoid-extra-storage-perm-and-query' into 'master'
Avoid extra storage bucket perm and query
See merge request gitlab-org/gitlab-ce!23995
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/lfs_http_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb index c63621fe7d1..2f322cc7054 100644 --- a/spec/requests/api/runner_spec.rb +++ b/spec/requests/api/runner_spec.rb @@ -1320,7 +1320,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do end before do - fog_connection.directories.get('artifacts').files.create( + fog_connection.directories.new(key: 'artifacts').files.create( key: 'tmp/uploads/12312300', body: 'content' ) diff --git a/spec/requests/lfs_http_spec.rb b/spec/requests/lfs_http_spec.rb index 3cc29a7076d..f1514e90eb2 100644 --- a/spec/requests/lfs_http_spec.rb +++ b/spec/requests/lfs_http_spec.rb @@ -1123,7 +1123,7 @@ describe 'Git LFS API and storage' do context 'with valid remote_id' do before do - fog_connection.directories.get('lfs-objects').files.create( + fog_connection.directories.new(key: 'lfs-objects').files.create( key: 'tmp/uploads/12312300', body: 'content' ) |