While working on some functional tests for a controller, I needed to be able
to test uploading a file. Fairly standard, but in this case I didn’t want to
fixture_file_upload as the related objects were being created by
Machinist from a blueprint. That’s where Rack::Test comes in.
allows you to post a Tempfile given its path and content type. Perfect! No