Fix rake and require in spec