This project is archived and is in readonly mode.

#920 ✓resolved
Tim Haines

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

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

Referenced by

Pages