Tag: 附件 fu

rails_fu在rails 3中进行测试

我正在尝试使用attachment_fu为工作文件上传function编写规范。 但是,作者为测试提供的示例代码要求我需要action_controller/test_process以便我可以访问ActionController::UploadedStringIO类。 我之前在rails 2.x中使用过这个,但对于rails 3,它无法找到test_process文件。 如何在rails 3中测试文件上载function?