I've just submitted a rails patch
http://dev.rubyonrails.org/ticket/11091

This patches actionpack/lib/action_controller/integration.rb so that
post and put requests automatically get turned into multipart form
submission requests if they have a parameter or parameters which are
instances of TestUploadedFile.

This allows file uploading to be tested in integration controllers or
RSpec stories.

Please have a look if interested and verify the patch, looking for +1s
on the Rails Trac
-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to