Always use `fixture_file_upload` helper to upload files in tests.
* Also is not a good idea to use File.open without closing the file
handler. We should use it with a block or close it explicitly.
Showing
Please
register
or
sign in
to comment