Displaying 3 results from an estimated 3 matches for "pywtorak".
Did you mean:
poltorak
2006 Dec 15
0
Fwd: Re: Re: [HOWTO] Edgemocha
---------- Forwarded message ----------
From: James Mead <jamesmead44 at gmail.com>
Date: 15-Dec-2006 17:37
Subject: Re: Re: [HOWTO] Edgemocha
To: John Pywtorak <jpywtora at calpoly.edu>
On 15/12/06, John Pywtorak <jpywtora at calpoly.edu> wrote:
> Compare
> ~$ sudo gem install mocha
> Attempting local installation of ''mocha''
> Successfully installed mocha-0.3.2
> ~$ irb
> irb(main):001:0> require '&...
2006 Dec 19
9
Stubbing ActiveRecord Models gets very difficult with instance methods
I have seen some basic examples of using Mocha and Stubba with ActiveRecord Models; However, the ones I read were somewhat simplistic. That is they stubbed the find class method of the model, or the execute method of the connection object. While stubbing the find method had the desired effect for the author it did not help with a situation I was hacking away on. Which was writing a test case
2007 Sep 21
5
Stubbing yielding methods
I''ve just been tying my brain in knots looking at bug #8687 (
http://rubyforge.org/tracker/index.php?func=detail&aid=8687&group_id=1917&atid=7477
).
I''ve been (1) trying to work out whether there is anything logically wrong
with Mocha''s existing behaviour and (2) whether Mocha should support the
requested functionality.
It all centres around the use of the