search for: test_validation_fail

Displaying 1 result from an estimated 1 matches for "test_validation_fail".

Did you mean: test_validation_fails
2006 Aug 15
7
Trying to Overide Class Object Methdos For Testing
Hi, I thought I had a handle on the whole singleton class thing but now I''m not too sure. I have a class definition: class ValidationMaster def validate(params) # complex and time consuming validation # returns true on success, raises Exception # on failure end end Okay, so when I''m running my functional tests within rails, I want to be able to control how