search for: my_fun2

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

Did you mean: my_func
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