阅读背景:

如何通过factory - girl中的关联链传递参数

来源:互联网 

By default, FactoryGirl calls the factories of associations to create them. I can pass a association for a factory as a parameter. But how can I passa an object which should be used deep in the associations chain?By default, FactoryGirl calls the factories of




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

分享到: