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
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-06-05 17:17:04 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-06-05 17:48:42 +0300
commit53d1c87c8673fa6c9d83519490698b37d67572df (patch)
tree7012ea95208e7b93bc8ddef4c6f45c24662cdbb1 /spec/uploaders
parent3201988b4d3804cbdf2560ee9064d0dbc43bf354 (diff)
Fix Fog mocking
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/object_storage_spec.rb7
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)