Remove specific error messages in specs for rails version compatibility