mose/Opal — comment on commit 54ebf889d179fb7e37421e12e190c6dbf8a5cb4d
File: spec/controllers/settings_controller_spec.rb line 58
By mose:

Well in most cases it works, but the uploader class uses .tempfile method that don't exist anymore because, if I got it well, the ActionDispatch::Http::UploadedFile don't extend Tempfile anymore in rails 3.0, or something like that.
So that's why I had to add it, otherwise it just fails, saying that tempfile was an unknown method for the uploaded file.