阅读背景:

运行测试时加载lib文件::Rails中的单元测试?

来源:互联网 

I've added a few modules and dropped them in my /lib directory and I think the lib directory is loaded magically by Rails (unless I loaded the lib directory somewhere early in my project and forgot about it). However, when I run unit tests that require my additional modules, they are not loaded. I've added a few modules and dropped them in my




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

分享到: