Fix stub from rails 4 refactoring to fix broken controller spec.