Employers can still give drug tests or fire an employee if they are acting under federal guidelines, or if an employee consumed marijuana at work or while performing work-related duties.