diff options
Diffstat (limited to 'spec/requests/lfs_http_spec.rb')
-rw-r--r-- | spec/requests/lfs_http_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/requests/lfs_http_spec.rb b/spec/requests/lfs_http_spec.rb index b07296a0df2..bc1ba3357a4 100644 --- a/spec/requests/lfs_http_spec.rb +++ b/spec/requests/lfs_http_spec.rb @@ -355,19 +355,6 @@ RSpec.describe 'Git LFS API and storage', feature_category: :source_code_managem expect(json_response['objects'].first['actions']['download']['href']).to start_with("https://lfs-objects.s3.amazonaws.com/") expect(json_response['objects'].first['actions']['download']['href']).to include("X-Amz-Expires=3600&") end - - context 'when feature flag "lfs_batch_direct_downloads" is "false"' do - before do - stub_feature_flags(lfs_batch_direct_downloads: false) - end - - it_behaves_like 'LFS http 200 response' - - it 'does return proxied address URL' do - expect(json_response['objects'].first).to include(sample_object) - expect(json_response['objects'].first['actions']['download']['href']).to eq(objects_url(project, sample_oid)) - end - end end end |