mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 05:25:16 -05:00
correct regression around file renaming
This commit is contained in:
@@ -212,7 +212,7 @@ describe UploadsController do
|
||||
|
||||
get "/uploads/#{site}/#{upload.sha1}.json"
|
||||
expect(response.status).to eq(200)
|
||||
expect(response.headers["Content-Disposition"]).to eq("attachment; filename=\"image_no_extension_fixed.png\"")
|
||||
expect(response.headers["Content-Disposition"]).to eq("attachment; filename=\"image_no_extension.png\"")
|
||||
end
|
||||
|
||||
it "handles file without extension" do
|
||||
|
||||
Reference in New Issue
Block a user