From a23ef89e576125740bd33aa64e434c38454790fc Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Tue, 29 May 2018 15:08:16 +0200 Subject: Fix missing timeout value in object storage pre-authorization call --- spec/uploaders/object_storage_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/uploaders/object_storage_spec.rb') diff --git a/spec/uploaders/object_storage_spec.rb b/spec/uploaders/object_storage_spec.rb index 4165a005063..2dd0925a8e6 100644 --- a/spec/uploaders/object_storage_spec.rb +++ b/spec/uploaders/object_storage_spec.rb @@ -382,6 +382,8 @@ describe ObjectStorage do is_expected.to have_key(:RemoteObject) expect(subject[:RemoteObject]).to have_key(:ID) + expect(subject[:RemoteObject]).to include(Timeout: a_kind_of(Integer)) + expect(subject[:RemoteObject][:Timeout]).to be(ObjectStorage::DIRECT_UPLOAD_TIMEOUT) expect(subject[:RemoteObject]).to have_key(:GetURL) expect(subject[:RemoteObject]).to have_key(:DeleteURL) expect(subject[:RemoteObject]).to have_key(:StoreURL) -- cgit v1.2.1