modify attendance model's spec.
modify relationship model's spec.