Activity (RSS)
Thursday, January 01 2009
-
James Mead commentedDate: 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 created the ticketDate: 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...
-
James Mead commentedDate: 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 commentedDate: 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...
-
- Tag set to feature-request
Date: 2007-05-02 09:20 Sender: Brian Takita
I am posting a patch that implements this. It's actually pretty simple.
-
James Mead created the ticketDate: 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...