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/support | |
parent | b8370c9f55843351b49073dafe84a2e9858c8c8a (diff) | |
download | gitlab-ce-eea26a93e7d4ac0c6fefe46592c9baa0d3e6a5cd.tar.gz |
Update validatorpresigned-multipart-uploads
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/helpers/stub_object_storage.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/stub_object_storage.rb b/spec/support/helpers/stub_object_storage.rb index 80204bdab8b..bceaf8277ee 100644 --- a/spec/support/helpers/stub_object_storage.rb +++ b/spec/support/helpers/stub_object_storage.rb @@ -47,8 +47,8 @@ module StubObjectStorage end def stub_object_storage_multipart_init(endpoint, upload_id = "upload_id") - stub_request(:post, %r{\A#{endpoint}tmp/uploads/[a-z0-9-]*\?uploads\z}). - to_return status: 200, body: <<-EOS.strip_heredoc + stub_request(:post, %r{\A#{endpoint}tmp/uploads/[a-z0-9-]*\?uploads\z}) + .to_return status: 200, body: <<-EOS.strip_heredoc <?xml version="1.0" encoding="UTF-8"?> <InitiateMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Bucket>example-bucket</Bucket> |