add spec for apply Proc value