Nikhil
Nikhil

Reputation: 1264

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 though 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

Upvotes: 0

Views: 163

Answers (1)

lebreeze
lebreeze

Reputation: 5134

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

Upvotes: 1

Related Questions