discourse/discourse — pull request #931 by ZogStriP (2013-05-31 01:00:04+00:00)
Title: added more file uploads test for better coverage

Meta: [s3 links default to https](http://meta.discourse.org/t/s3-links-default-to-https/5758/9)

Added tests for image uploads to provide better coverage of the image upload feature. Those 3 tests are pretty basic but should cover the happy-path.

Also, I removed the `config/fog_credentials.yml.sample` file and extracted its settings into the following site settings: `s3_access_key_id`, `s3_secret_access_key` and `s3_region`.
I find it better to have them in the site settings as they are now more *local* to the `enable_s3_uploads` setting.