You are here: Browse Railsplugins 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
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
if anybody knows how to include MultipartUpload in the testing session class from init.rb, please drop me a line…
This plugin is licensed under the MIT license. Complete license text is included in the MIT-LICENSE file.
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