Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-01-02 13:08:31 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-01-02 13:08:31 +0300
commitf93f09e7355b7cc3522797ee288d79d3b2e90ea0 (patch)
tree2ae2c192e685331457ef63ae5c8b1abe94a7452e /spec/lib
parentbb444211872cd4a367e6e31da20d5aa05ded8d6b (diff)
parent2bfc317492f0a5918c4861203f3eedf71b2627aa (diff)
Merge branch 's3-directories-get' into 'master'
Use directories.new when getting S3 directory Closes gitlab-com/gl-infra/infrastructure#5807 See merge request gitlab-org/gitlab-ce!23981
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/cleanup/remote_uploads_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/cleanup/remote_uploads_spec.rb b/spec/lib/gitlab/cleanup/remote_uploads_spec.rb
index 8d03baeb07b..35642cd6e50 100644
--- a/spec/lib/gitlab/cleanup/remote_uploads_spec.rb
+++ b/spec/lib/gitlab/cleanup/remote_uploads_spec.rb
@@ -25,7 +25,7 @@ describe Gitlab::Cleanup::RemoteUploads do
expect(::Fog::Storage).to receive(:new).and_return(connection)
- expect(connection).to receive(:directories).and_return(double(get: directory))
+ expect(connection).to receive(:directories).and_return(double(new: directory))
expect(directory).to receive(:files).and_return(remote_files)
end