[rspec-users] attachment_fu and story runner, any updates
ben at benmabey.com
Tue Feb 12 15:25:22 EST 2008
Rick DeNatale wrote:
> I've just submitted a rails patch
> 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
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
More information about the rspec-users