Fix a failing test in actionpack