Change controllerSpec to noteSpec