Fix ruby specs failing due to deprecated Spec