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.

There was a problem

You must be a member of this account.

James Mead's latest activity

Thursday, January 01 2009
5 [#10413] Mock Blocks was created in mocha
  • 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 in mocha
  • 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...