Fix failing spec on Travis