If you sat in the room while he was smoking for the whole 15 minutes, than testing positive for marijuana is a possibility. If you can smell it, you can inhale it.
Normally marijuana stays in your system for 45-60 days. Since you only had second hand exposure, it would most likely be a shorter...