Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Multipart Integration Test

Multipart Integration Test

This simple plugin implements multipart post requests (that is, file uploads) for use in integration tests.

The latest version of this plugin can always be found at: svn://projects.jkraemer.net/plugins/multipart_integration_test

Usage:

open_session do |s| s.extend(MultipartPost) upload = fixture_file_upload ’/files/dummy.jpg’, ‘image/jpeg’ s.multipart_post ’/files/upload’, :uploaded_data => upload end

Todo

if anybody knows how to include MultipartUpload in the testing session class from init.rb, please drop me a line…

License

This plugin is licensed under the MIT license. Complete license text is included in the MIT-LICENSE file.

Author

This plugin was created by Jens Kraemer <jk>. See http://www.jkraemer.net/ for news.

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all 2 member details


Membership

+ Join this railsplugin

Record Maintainer

'None'