阅读背景:

为什么Rake运行的模型我找不到测试?

来源:互联网 

When I run "rake", it's loading up one of the models among all of the classes I have in my app/models directory. The thing is, it's not one I have a test for, it's just a model I have in there that is actually used with script/runner to run in the background and perform tasks for my main Rails application. At the end of the file I've got it creating a new instance of the class above and then running main for the class.When I run "rake", it's loading up one of the m




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

分享到: