Hi there, Writing some controller specs for uploading files this morning I was having problems because TestUploadfile.content_type isn''t writable. I''ve submitted a really simple patch with a tweaked test: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/920 Cheers, Tim. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Kemper
2008-Aug-28 01:51 UTC
Re: [Patch Review] Make TestUploadFile content_type writable
On Wed, Aug 27, 2008 at 6:08 PM, Tim Haines <tmhaines@gmail.com> wrote:> Writing some controller specs for uploading files this morning I was having > problems because TestUploadfile.content_type isn''t writable. I''ve submitted > a really simple patch with a tweaked test: > > http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/920Applied. Thanks Tim! jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---