Fix failing spec on 3.0