阅读背景:

RSpec:通过regex匹配字符串数组

来源:互联网 

I am testing validation of my models with rspec and am expecting an error message. However, the exact text of the message is likely to change, so I want to be a bit more forgiving and only check for a partial message. I am testing validation of my models with rspec




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

分享到: