Fixed specs according to Rails 3.2 update