An employee who is not employed for a specified term and who quits the service of his employer, is entitled to compensation for services rendered up to the time of such quitting.

SOURCE: CC § 2003.