diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-05 16:17:04 +0200 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-05 16:48:42 +0200 |
commit | 53d1c87c8673fa6c9d83519490698b37d67572df (patch) | |
tree | 7012ea95208e7b93bc8ddef4c6f45c24662cdbb1 /spec/initializers | |
parent | 3201988b4d3804cbdf2560ee9064d0dbc43bf354 (diff) | |
download | gitlab-ce-53d1c87c8673fa6c9d83519490698b37d67572df.tar.gz |
Fix Fog mocking
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/fog_google_https_private_urls_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/initializers/fog_google_https_private_urls_spec.rb b/spec/initializers/fog_google_https_private_urls_spec.rb index de3c157ab7b..08346b71fee 100644 --- a/spec/initializers/fog_google_https_private_urls_spec.rb +++ b/spec/initializers/fog_google_https_private_urls_spec.rb @@ -1,13 +1,13 @@ require 'spec_helper' -describe 'Fog::Storage::GoogleXML::File' do +describe 'Fog::Storage::GoogleXML::File', :fog_requests do let(:storage) do Fog.mock! - Fog::Storage.new({ - google_storage_access_key_id: "asdf", - google_storage_secret_access_key: "asdf", - provider: "Google" - }) + Fog::Storage.new( + google_storage_access_key_id: "asdf", + google_storage_secret_access_key: "asdf", + provider: "Google" + ) end let(:file) do |