remove pundit policy spec if policy hasnt been generated