warn rather than raise when block passed to have_received. Add spec for file / line number