diff options
Diffstat (limited to 'spec/uploaders/object_storage_spec.rb')
-rw-r--r-- | spec/uploaders/object_storage_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/uploaders/object_storage_spec.rb b/spec/uploaders/object_storage_spec.rb index b454b0ad8f8..a1d8695a8c9 100644 --- a/spec/uploaders/object_storage_spec.rb +++ b/spec/uploaders/object_storage_spec.rb @@ -441,22 +441,6 @@ RSpec.describe ObjectStorage do end end - shared_examples 'extracts base filename' do - it "returns true for ExtractsBase" do - expect(subject[:FeatureFlagExtractBase]).to be true - end - - context 'when workhorse_extract_filename_base is disabled' do - before do - stub_feature_flags(workhorse_extract_filename_base: false) - end - - it "returns false for ExtractsBase" do - expect(subject[:FeatureFlagExtractBase]).to be false - end - end - end - shared_examples 'uses local storage' do it_behaves_like 'returns the maximum size given' do it "returns temporary path" do @@ -518,7 +502,6 @@ RSpec.describe ObjectStorage do end it_behaves_like 'uses local storage' - it_behaves_like 'extracts base filename' end context 'when object storage is enabled' do @@ -526,8 +509,6 @@ RSpec.describe ObjectStorage do allow(Gitlab.config.uploads.object_store).to receive(:enabled) { true } end - it_behaves_like 'extracts base filename' - context 'when direct upload is enabled' do before do allow(Gitlab.config.uploads.object_store).to receive(:direct_upload) { true } |