# How test a file upload (with attachment\_fu)?

**URL:** <https://www.ruby-forum.com/t/how-test-a-file-upload-with-attachment-fu/115250>\
**Category:** Rails\
**Created:** [September 22, 2007, 1:29pm UTC](https://www.ruby-forum.com/t/how-test-a-file-upload-with-attachment-fu/115250 "2007-09-22T13:29:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/919ad9/32.png) [@mix](https://www.ruby-forum.com/u/mix)\
**Post date:** [September 22, 2007, 1:29pm UTC](https://www.ruby-forum.com/t/how-test-a-file-upload-with-attachment-fu/115250/1 "2007-09-22T13:29:04Z")

</div>

Hi, i’m using attachment\_fu and now it works, the file is uploaded and  
resized without problems… but how can i test this ? i’m trying to add  
the file with fixture\_file\_upload with the post, but it give me a 500 ☹
