I believ you can smoke 3 times in a 30 day period without it showing up in a hair sample. But is it worth the risk? Sounds like it might be a pretty good job. If its a urine test you can just sub but a hair test gets a little trickier.
If it was me I would just tough it out till you get the job then you'll know what the program is and can be prepared for it.