Hello, I agree with ThoughtSandwiches as to the law in CA. Here an employer is only required to inform another prospective employer as to your time of employment with them upon request.
Any other statements as to conduct, reasons for leaving etc. must be carefully guarded. If a former employer makes any statement which may be prejudicial as to your future employment then that can be produced as evidence in court if you feel it has harmed you in anyway.