I want to test uploading a file in a Rails Rspec request test. I\'m using Paperclip for asset storage.
I\'ve tried:
path = \'path/to/fixture_file\' para
Might be useful for other users: I got this problem because I mistakenly used a get instead of a post request in my specs.
get
post