Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

TestUploadFile.content_type should be writable

#920

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.

Reported by Tim Haines · August 28th, 2008 @ 02:05 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [82778351a8b1036ac4bdc8e72a3f011151fefa31]) Add TestUploadFile.content_type= to match Request.UploadedFile

    [#920 TestUploadFile.content_type should be writable state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 28th, 2008 @ 02:51 AM

  2. Repository
    Repository

    (from [dabd8c82827c6547f3f1870d9d6f8a3e6c1a830d]) Add TestUploadFile.content_type= to match Request.UploadedFile

    [#920 TestUploadFile.content_type should be writable state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 28th, 2008 @ 02:51 AM