Make specs pass on Rails 4.1

Fixes #81