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/uploaders | |
parent | 3201988b4d3804cbdf2560ee9064d0dbc43bf354 (diff) | |
download | gitlab-ce-53d1c87c8673fa6c9d83519490698b37d67572df.tar.gz |
Fix Fog mocking
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/object_storage_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/uploaders/object_storage_spec.rb b/spec/uploaders/object_storage_spec.rb index 01166865e88..fb51ae4c02c 100644 --- a/spec/uploaders/object_storage_spec.rb +++ b/spec/uploaders/object_storage_spec.rb @@ -360,13 +360,6 @@ describe ObjectStorage do subject { uploader_class.workhorse_authorize(has_length: has_length, maximum_size: maximum_size) } - before do - # ensure that we use regular Fog libraries - # other tests might call `Fog.mock!` and - # it will make tests to fail - Fog.unmock! - end - shared_examples 'uses local storage' do it "returns temporary path" do is_expected.to have_key(:TempPath) |