diff options
author | Tim Vandecasteele <tim.vandecasteele@vasco.com> | 2012-06-21 10:16:28 +0200 |
---|---|---|
committer | Tim Vandecasteele <tim.vandecasteele@vasco.com> | 2012-06-22 09:27:41 +0200 |
commit | 8471edc6725aa905dc9f7b800438acb255b1512e (patch) | |
tree | 7331a13d02d56c3fd17f28daf545644fdc586b0f /railties/test/commands/server_test.rb | |
parent | 1bb2f5a8316c3e94b47b9cfb8fa519e1b1238869 (diff) | |
download | rails-8471edc6725aa905dc9f7b800438acb255b1512e.tar.gz rails-8471edc6725aa905dc9f7b800438acb255b1512e.tar.bz2 rails-8471edc6725aa905dc9f7b800438acb255b1512e.zip |
Don't paramify ActionDispatch::Http::UploadedFile in tests
To test uploading a file without using fixture_file_upload, a posted
ActionDispatch::Http::UploadedFile should not be paramified (just like
Rack::Test::UploadedFile).
(Rack::Test::UploadedFile and ActionDispatch::Http::UploadedFile don't
share the same API, tempfile is not accessible on
Rack::Test::UploadedFile as discussed in
https://github.com/brynary/rack-test/issues/30)
Diffstat (limited to 'railties/test/commands/server_test.rb')
0 files changed, 0 insertions, 0 deletions