Hi,
Did anyone attempt to use rspec and attachment_fu? How can I pass a file to attachment_fu? What do I need to stub?
Thanks, Tiberiu
Hi,
Did anyone attempt to use rspec and attachment_fu? How can I pass a file to attachment_fu? What do I need to stub?
Thanks, Tiberiu
Use { :uploaded_data => fixture_file_upload(filename_in_fixtures_directory) } in the params of the post action