开发者

Rake test suddenly stopped working

I have been working with my rails application and since today I have not been able to run rake test:units

I thoug开发者_如何学运维h maybe my Ruby installation is broken or something, so I tried creating a new application, created a new model quickly, wrote a couple of unit test and then ran them. Everything seems to be running fine with the new app.

Please check the error log generated here http://pastebin.com/jgNXpXE3


Seems there's a bug in your Product model. Do you have a call to validates without any parameters passed to it?

http://api.rubyonrails.org/classes/ActiveModel/Validations/ClassMethods.html#method-i-validates

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜