Generating test file uploads on Rails from strings, is it possible?
I am aware of fixture_file_upload that can take a file in the filesystem and generate a file upload on a controller test. Is there something that can do it from a string, a-la StringIO?
Aucun commentaire:
Enregistrer un commentaire