The court’s ruling came Tuesday in a case involving Amazon warehouses and a temp agency, Integrity Staffing Solutions Inc. Hourly workers were required to wait in line for an average of 25 minutes after they clocked out.