Displaying 1 result from an estimated 1 matches for "any_instance_method".
2007 Mar 30
7
problem with using any_instance
...nd
</code>
where klass is some class
when the tests run, test _a passes, but test_b had an error like this:
test_b
NoMethodError: undefined method `method_name'' for #<klass:0xb6fb1934>
I put a
<code>
puts ''unstub called''
</code>
in unstub of any_instance_method.rb and it got called wen running test_a
Any idea what the problem it could be?
Thanks,
Yi