Testing rails controllers