Displaying 1 result from an estimated 1 matches for "p14205880".
Did you mean:
a14205880
2007 Dec 07
0
weird behavior of mocking ruby class methods
...ame out. The mocking worked well this time but "read" method in
"File" class became undefined in the second test case. It seemed that the
mocking erased the "read" method. (Please see the output in "Scenario 2" in
the attached file)
http://www.nabble.com/file/p14205880/result.txt result.txt
I am wondering what is going on out there when I mocked a method of ruby
class?
Do I use mocking in a proper way as the sample code shown above?
What is the correct way of mocking methods of ruby classes?
--
View this message in context: http://www.nabble.com/weird-behavio...