Fix rake task for spec