glittergallery/GlitterGallery — pull request #140 by rohitpaulk (2014-06-24 18:49:13+00:00)
Title: Add project tests

The source in the Gemfile has been changed. Travis builds were failing because the openshift gem mirror couldn't be accessed.

```
Fetching source index from http://mirror1.prod.rhcloud.com/mirror/ruby/
Authentication is required for http://mirror1.prod.rhcloud.com/mirror/ruby/.
```
According to [this](http://bundler.io/v1.3/man/gemfile.5.html#SOURCE-PRIORITY), the source listed first is given less priority. I tried adding `source 'http://rubygems.org'` on top to check if Bundler would retry using the other source if one fails, but it doesn't. So I guess it makes more sense to keep the default source as 'http://rubygems.org'. GlitterGallery is easiest to setup with OpenShift, but we're not only OpenShift deployable are we :)

NOTE: The controller and integration tests aren't complete - file actions are remaining.