the test for battery is that you harmfully or offensively touched someone or something on them
i think spitting would fall under both for most juries..