By breathing the second hand smoke of the marijuana your friends were smoking, it may actually show up if they test you. However, it seems unlikely they'll try anything on you since nobody, upon their arrest, claimed you were smoking, then you were taken home and left alone for, what'd you say...