Currently each pod gets a description field, defaulting to ''. This field is user define-able however and should have some hard limits.
In particular, description should:
Be shorter than 255 (arbitrary) characters.
Should only allow allow regular characters: [a-z][A-Z][0-9]!.?@#',"-_ (More can be allowed if preferred)
If description does not mean the above criteria then a friendly error message should be given to the user.
Additionally. After completing the initial task, add at least two tests, one to ensure valid description's work correctly. And a second to ensure invalid descriptions give the correct error message.
Currently each pod gets a description field, defaulting to ''. This field is user define-able however and should have some hard limits.
In particular, description should:
Should only allow allow regular characters: [a-z][A-Z][0-9]!.?@#',"-_ (More can be allowed if preferred)
If description does not mean the above criteria then a friendly error message should be given to the user.
Additionally. After completing the initial task, add at least two tests, one to ensure valid description's work correctly. And a second to ensure invalid descriptions give the correct error message.