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.

Activity (RSS)

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

    Date: 2008-02-01 13:06 Sender: James Mead

    More comments on mailing list http://rubyforge.org/pipermail/m...

  • James Mead
    James Mead commented at 7:23 PM

    Date: 2007-09-21 14:59
    Sender: James Mead

    Hi Erik. I'm really sorry I haven't responded to this again sooner
    - work has been really busy and I've also taken som...

  • James Mead
    James Mead commented at 7:19 PM

    Date: 2007-07-05 19:19 Sender: James Mead

    I apologise. I obviously didn't read the details carefully enough. I'll try and have another look in the next few days...

  • James Mead
    James Mead commented at 7:17 PM

    Date: 2007-07-05 19:09 Sender: Erik Hetzner

    I'd like to register my objection to the closing of this bug. I am reporting code which Mocha is currently unable to...

  • James Mead
    James Mead commented at 7:13 PM

    Date: 2007-04-11 14:31 Sender: Erik Hetzner

    Hi James,

    Sorry I wasn't more clear. I could certainly change my code, but I have existing code that I want to test,...

2 earlier changes…
  • 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
  • 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
11 [#19786] Provide a useful error message when someone tries to use Mocha outsi... was created
10 [#17695] RR style proxies was created
9 [#17205] More realistic examples was created
8 [#17204] State change should occur when cardinality is satisfied was created
7 [#17202] Make it easy to define a set of expectations that only occur in a gi... was created
6 [#16769] how to ensure signature compliance while mocking in ruby was created
5 [#10413] Mock Blocks was created
  • James Mead
    James Mead created the ticket at 6:26 PM

    Date: 2007-04-27 16:39 Sender: Brian Takita

    Allow mock expectations to be defined within a block. This syntax is similar to ActiveRecord and Markaby.

    In these e...

4 [#10412] Merge 'with' and the expected method was updated
  • James Mead
    James Mead commented at 6:22 PM

    Date: 2007-11-05 10:21 Sender: Steve Purcell

    James: For some reason my trimmed patch didn't get uploaded when I made the prior comment; here it is. I personally...

  • James Mead
    James Mead commented at 6:19 PM

    Date: 2007-11-05 10:07 Sender: James Mead

    Hi Steve,

    I've responded over on the feature request...

    http://rubyforge.org/tracker/ind...

    Cheers, James. http://blo...

  • James Mead
    James Mead commented at 6:18 PM

    Date: 2007-11-03 13:22 Sender: Steve Purcell

    Here's an updated version of the patch which omits changes to the trailing white space present in the svn version o...

  • James Mead
    James Mead commented at 6:18 PM

    Date: 2007-10-31 14:59 Sender: Steve Purcell

    This small patch with tests essentially implements feature request http://rubyforge.org/tracker/ind..., which allo...

  • James Mead
    James Mead commented at 6:15 PM

    Date: 2007-11-05 10:06 Sender: James Mead

    Hi Steve,

    Thanks for taking the time to submit a patch. I agree with you about Brian's second example being the more c...

4 earlier changes…
  • James Mead
    James Mead commented at 6:13 PM

    Date: 2007-10-31 15:00 Sender: Steve Purcell

    Okay, so I'm not permitted to attach a file to this ticket, so I've filed my patch: http://rubyforge.org/tracker/i...

  • James Mead
    James Mead commented at 6:12 PM

    Date: 2007-10-31 14:54 Sender: Steve Purcell

    I agree. I implemented this feature in my own (otherwise inferior) precursor to Mocha, called mockr (http://dev.san...

  • James Mead
    • Tag set to feature-request
    by James Mead at 6:11 PM

    Date: 2007-05-02 09:20 Sender: Brian Takita

    I am posting a patch that implements this. It's actually pretty simple.

  • James Mead
    James Mead created the ticket at 6:09 PM

    Date: 2007-04-27 16:33 Opener: Brian Takita

    It seems that the 'with' method can be merged with the method name expectation. This would make mocks shorter and ea...

3 Convert TODO items to Lighthouse tickets was created
  • James Mead
    James Mead created the ticket at 3:28 PM

    Many of the items in the TODO file are out-of-date or irrelevant. Convert any relevant ones into Lighthouse tickets and delete the TODO file so that Lighthouse ...

2 Move RubyForge bug reports, etc over to Lighthouse was created
  • James Mead
    James Mead created the ticket at 3:26 PM

    The RubyForge bug tracking, etc has too high a barrier to entry. Move all RubyForge bug reports, feature requests, etc over to Lighthouse and make this the mast...

1 Mocha::ExpectationError < Exception was created
  • James Mead
    James Mead created the ticket at 3:22 PM

    Consider making Mocha::ExpectationError derive from Exception instead of StandardError so that it doesn't get caught by accident in a standard rescue clause.

Monday, December 22 2008
Home was created by James Mead in mocha at 10:57 AM