阅读背景:

如何使用`should validate_presence_of`和自定义错误消息?

来源:互联网 

I'm testing my ActiveRecord models with Rspec. I've just added a custom error message to one of my validations, like this:I'm testing my ActiveRecord models with Rspec.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: