Fix specs with Rails 3.