Fix up an intermittently failing spec