阅读背景:

除了模型to_be_saved之外的Rspec / Rails匹配器

来源:互联网 

I want to check if the model was persisted to the DB by the various means available. It looks like all these things defer to .save but I'm curious if there is a better way, perhaps using what Dirty provides?I want to check if the model was persisted to t




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

分享到: