Update specs for Rails 4