aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/testing/process.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-08-31 23:08:20 -0500
committerJoshua Peek <josh@joshpeek.com>2009-08-31 23:08:20 -0500
commita79790e1a5733694baef3d03d8d79b76948a9d69 (patch)
tree9c6df0ceaf39700bcfa906d54c64b1621f9fb245 /actionpack/lib/action_controller/testing/process.rb
parent426e76ad85c060ef2fa87bc2bebfc906ea7b090e (diff)
downloadrails-a79790e1a5733694baef3d03d8d79b76948a9d69.tar.gz
rails-a79790e1a5733694baef3d03d8d79b76948a9d69.tar.bz2
rails-a79790e1a5733694baef3d03d8d79b76948a9d69.zip
rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it instead
Diffstat (limited to 'actionpack/lib/action_controller/testing/process.rb')
-rw-r--r--actionpack/lib/action_controller/testing/process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/testing/process.rb b/actionpack/lib/action_controller/testing/process.rb
index a58b2de379..5fb244e3eb 100644
--- a/actionpack/lib/action_controller/testing/process.rb
+++ b/actionpack/lib/action_controller/testing/process.rb
@@ -84,7 +84,7 @@ module ActionController #:nodoc:
#
# Pass a true third parameter to ensure the uploaded file is opened in binary mode (only required for Windows):
# post :change_avatar, :avatar => ActionController::TestUploadedFile.new(ActionController::TestCase.fixture_path + '/files/spongebob.png', 'image/png', :binary)
- TestUploadedFile = ActionDispatch::TestRequest::Multipart::UploadedFile
+ TestUploadedFile = Rack::Test::UploadedFile
module TestProcess
def self.included(base)