This project is archived and is in readonly mode.
TestUploadFile.content_type should be writable
Reported by Tim Haines | August 28th, 2008 @ 02:05 AM | in 2.x
Request.UploadedFile has a writable content_type. This is useful as the content_type needs to be set manually when uploading via swfUpload.
TestUploadFile current has a read only content_type. This patch makes it writable so appropriate app tests/specs can be written.
The patch also includes an update to the test.
Small and simple.
Comments and changes to this ticket
-
Repository August 28th, 2008 @ 02:51 AM
- State changed from new to resolved
(from [82778351a8b1036ac4bdc8e72a3f011151fefa31]) Add TestUploadFile.content_type= to match Request.UploadedFile
[#920 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
-
Repository August 28th, 2008 @ 02:51 AM
(from [dabd8c82827c6547f3f1870d9d6f8a3e6c1a830d]) Add TestUploadFile.content_type= to match Request.UploadedFile
[#920 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 920 TestUploadFile.content_type should be writable [#920 state:resolved]
- 920 TestUploadFile.content_type should be writable [#920 state:resolved]