Fixed broken tests by #207fa5c11d

https://travis-ci.org/rails/rails/builds/9082898