Fix templates controller spec