Term: spit take
Example: he did a spit take when she told him she was pregnant
Definition: a visual gimmick used in film and on stage where a person is surprised or taken aback by another's actions or words while drinking, and spits or sputters that liquid