Make specs run on Rails 3 and Rails 4 (no code changes)