[rspec-users] Testing upload via web services

David Chelimsky dchelimsky at gmail.com
Wed Jul 16 07:22:35 EDT 2008


On Wed, Jul 16, 2008 at 6:07 AM, Nicholas Wieland
<nicholas.wieland at gmail.com> wrote:
> Hi *,
> I need to write a web service that accepts file uploads (even large ones).
> My WS is REST based, so I have a create method that accepts only POST.
> My problem is passing the file to the method, so if someone already solved
> this problem please let me know.

http://talklikeaduck.denhaven2.com/articles/2008/04/18/rails-integration-test-file-upload-plugin

Cheers,
David


More information about the rspec-users mailing list