spec for delete if