A Kiss is More Than a Kiss - S3-E14
Revealing mistake: When Cory puts the talking teddy bear that Topanga gave him in the trash compactor, the bear screams and Alan and Amy come down to investigate. Amy opens the trash compactor door and pulls out a bear crushed into a cube, but if you look closely, you can see the original bear still in the trash compactor unharmed.
Chosen answer: In the present day, with the United States abiding by more stricter school health laws, for the most part this wouldn't be in school cafeterias as many cannot even have carbonated beverage machines now. However, in the 90s when the show takes place, it wasn't unheard of for there to be coffee machines in the cafeteria of small schools where the teachers eat with the students as we see them do often in the show. The idea being that the cafeteria was small enough so a teacher or hall monitor could catch a student before they could drink the coffee.