diff options
Diffstat (limited to 'spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb b/spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb index 62aaec85162..c939c306d93 100644 --- a/spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb +++ b/spec/support/shared_examples/controllers/snippet_blob_shared_examples.rb @@ -36,16 +36,6 @@ RSpec.shared_examples 'raw snippet blob' do expect(response.header['Content-Disposition']).to match "attachment; filename=\"#{filepath}\"" end - - context 'when the feature flag attachment_with_filename is disabled' do - it 'returns just attachment in the disposition header' do - stub_feature_flags(attachment_with_filename: false) - - subject - - expect(response.header['Content-Disposition']).to eq 'attachment' - end - end end end |