Normally they have to tell you if you are going to be drug tested. If they haven't mentioned anything about random testing while you're working, then you should be fine. But I got a "random test" after I was hired, but before I started working...bullshit.

Didn't take it, so they wouldn't let me work for them.

Better safe than sorry man, lay off for a bit until you're sure.