Rick DeNatale wrote: > 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 > Thanks Rick! I'll check it out when I get a chance. BTW, would you mind posting some example code of how you are using the story runner in testing a multi-part form?
Thanks, Ben _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users