Set Content-Type to fixed value for all download actions

This commit is contained in:
Sebastian Serth
2022-10-05 21:46:17 +02:00
parent 42688ed1c9
commit f7515362a1
4 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ describe SubmissionsController do
expect_assigns(file: :file)
expect_assigns(submission: :submission)
expect_content_type('text/javascript')
expect_content_type('application/octet-stream')
expect_http_status(:ok)
it 'sets the correct filename' do