correct regression around file renaming

This commit is contained in:
Sam
2018-08-20 16:08:05 +10:00
parent 038de4e037
commit f5fe58384f
3 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -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