From: Fernando Guillen Date: 2010-08-03T01:30:53+09:00 Subject: Re: Mocking a method with a block Fernando Guillen wrote: > > See the test example: > > * > http://github.com/fguillen/NetPopMock/blob/master/test/net_pop_mock_test.rb#L15 > > Into the mocked class: > > * http://github.com/fguillen/NetPopMock/blob/master/net_pop_mock.rb#L30 Sorry the links are not static, use this others: * http://github.com/fguillen/NetPopMock/blob/db7d3dae0ce091cc870ef23cce7487ee44c2b927/test/net_pop_mock_test.rb#L15 * http://github.com/fguillen/NetPopMock/blob/db7d3dae0ce091cc870ef23cce7487ee44c2b927/net_pop_mock.rb#L30 -- Posted via http://www.ruby-forum.com/.