Rails has changed how to upload files / string in unit tests.