Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

James Mead's latest activity

Thursday, January 01 2009
14 [#8687] Block's return value is dropped on stubbed yielding methods. was updated in mocha
  • James Mead
    James Mead commented at 7:12 PM

    Date: 2007-04-11 14:03 Sender: James Mead

    Hi Erik,

    Thanks for the bug report & suggested patch. To be honest I can't see anything wrong with Mocha's behaviour i...

  • James Mead
    James Mead created the ticket at 7:11 PM

    Date: 2007-02-16 01:29 Opener: Erik Hetzner

    Best explained with an example:

    test:

    
    foo = mock()
    bar = mock().stubs(:get_baz).returns(:baz)
    foo.stubs(:with_s...
13 [#22564] Allow default return value to be specified for stub_everything was created in mocha
  • James Mead
    James Mead created the ticket at 7:07 PM

    Date: 2008-10-26 19:15 Opener: James Mead

    John Wilger says:-

    Using stub_everything as opposed to just stub can alleviate that to some degree, however the one th...

12 [#21639] Allow stubs and expects to match multiple methods was created in mocha
11 [#19786] Provide a useful error message when someone tries to use Mocha outsi... was created in mocha
10 [#17695] RR style proxies was created in mocha
9 [#17205] More realistic examples was created in mocha
8 [#17204] State change should occur when cardinality is satisfied was created in mocha
7 [#17202] Make it easy to define a set of expectations that only occur in a gi... was created in mocha
6 [#16769] how to ensure signature compliance while mocking in ruby was created in mocha