fixing specs for Rails 3.0