开发者

Rake test suddenly stopped working

开发者 https://www.devze.com 2023-02-19 14:29 出处:网络
I have been working with my rails application and since today I have not been able to run rake test:units

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

精彩评论

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