Displaying 2 results from an estimated 2 matches for "test_stuff".
2006 Aug 15
7
Trying to Overide Class Object Methdos For Testing
...want it to fail and throw an exception. Thus, I can''t rely on the
Mock ValidationMaster class definition to take care of this.
But then I thought, HEY, within each test I can open up the singleton
class for the ValidationMaster class object. Whoo hoo,
I''m in charge now!
def test_stuff
class << ValidationMaster
def validate(params)
raise ValidationException
end
end
vm = ValidationMaster.new
vm.validate("Jeff")
end
But, when I run my test, the exception is not getting thrown. The
methods I''ve defined in the Mock are all working ri...
2008 Sep 04
3
Inexistant file displayed by samba
Hello,
Running 3.2.0, and in one of my share, a file named TABAFK~V
appeared, but is not present on the underlying filesystem.
The file can't be removed from a windows client (even a member of
domain admins).
Not that it is distrubing, but you know...
Fran?ois