fix specs for ActiveRecord ~> 3.0