# File lib/merb-core/test/helpers/multipart_request_helper.rb, line 166 def multipart_fake_request(env = {}, params = {}) if params.empty? fake_request(env) else m = Post.new(params) body, head = m.to_multipart fake_request(env.merge( :content_type => head, :content_length => body.length), :post_body => body) end end