discourse/discourse — pull request #670 by ZogStriP (2013-04-07 15:52:45+00:00)
Title: added some tests for uploads

- [x] initial tests for `upload.rb` model
- [x] validate server-side that the user is uploading an image (through its mime/type)