fix autorebuild specs to be compatible with Rails 3.1