Can smoking pot be used against you at work? What about medical marijuana patients?

Many companies do drug testing and the expectation is that more people are likely to test positive now that pot is being sold across the state. This is one of the issues coming up now that pot is legal and shops have opened.