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:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-02-22 18:46:13 +0300
committerMicaël Bergeron <mbergeron@gitlab.com>2018-03-01 18:36:56 +0300
commit5cf1cc6a0fe1a60cf51bc44535df8cc17d10b3a0 (patch)
treeaffb51535b5184d4bc04ccd70dedfc89ee83904f /spec/support/stub_object_storage.rb
parent50c08d0eda6a1863e025b09c20dc2e4a38754ff4 (diff)
remove the license check
Diffstat (limited to 'spec/support/stub_object_storage.rb')
-rw-r--r--spec/support/stub_object_storage.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/support/stub_object_storage.rb b/spec/support/stub_object_storage.rb
index 93477e513f2..69c59fb0015 100644
--- a/spec/support/stub_object_storage.rb
+++ b/spec/support/stub_object_storage.rb
@@ -1,12 +1,10 @@
module StubConfiguration
- def stub_object_storage_uploader(config:, uploader:, remote_directory:, enabled: true, licensed: true, background_upload: false)
+ def stub_object_storage_uploader(config:, uploader:, remote_directory:, enabled: true, background_upload: false)
Fog.mock!
allow(config).to receive(:enabled) { enabled }
allow(config).to receive(:background_upload) { background_upload }
- stub_licensed_features(object_storage: licensed) unless licensed == :skip
-
return unless enabled
::Fog::Storage.new(uploader.object_store_credentials).tap do |connection|