Testing error message when specing models?

Should you test validation error messages when specing your models?

Anthony S. wrote in post #958119:

Should you test validation error messages when specing your models?

Probably not. It’s probably enough to check that valid? is false when
it should be.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs