Displaying 1 result from an estimated 1 matches for "first_method".
2006 Aug 15
0
Mocha - dynamic method calling
...take me a
> while. I''m being bull dozed with work right now. (Who isn''t ?)
Hmm. Can you come up with a simple test that fails in this way? I tried this
test and it works fine...
def test_passes
first_object = mock()
second_object = mock()
first_object.expects(:first_method).with(second_object)
first_object.first_method(second_object)
end
> Thanks for the prompt response and for cleaning up my comments. I don''t
> do a lot of posting actually, I''ll have to get familiar with textile.
No problem. Feedback is the only way I''m goin...