search for: mooky

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

Did you mean: moody
2007 Apr 17
8
Verifying that a block calls a method
I have something like the following: def my_fun my_fun2 do raise Error end end I know that I can verify that the method receives my_fun2. How can I mock/stub out the example to verify that it calls raise Error? Scott