fix post action in controller spec