spec for #from_time