Fix spec for Rails 2.3.x.