Update gems for Rails 4.0.2
Use let instance of instance variable
Mock User to play nice with url generators
Merge branch 'fix/upgrade-to-rails-4.0.2'