Re: [rspec-users] Surprised by stub/mock interaction

2009-02-25 Thread David Chelimsky
On Wed, Feb 25, 2009 at 10:39 AM, Jeff Talbot wrote: > > > On Wed, Feb 25, 2009 at 10:23 AM, David Chelimsky > wrote: >> >> On Wed, Feb 25, 2009 at 10:10 AM, Jeff Talbot >> wrote: >> > Hello, >> > >> > Something I do often is use stub methods in before blocks and mock >> > expectations in a spec

Re: [rspec-users] Surprised by stub/mock interaction

2009-02-25 Thread Jeff Talbot
On Wed, Feb 25, 2009 at 10:23 AM, David Chelimsky wrote: > On Wed, Feb 25, 2009 at 10:10 AM, Jeff Talbot > wrote: > > Hello, > > > > Something I do often is use stub methods in before blocks and mock > > expectations in a specific examples (much like described here: > > http://blog.davidchelimsky

Re: [rspec-users] Surprised by stub/mock interaction

2009-02-25 Thread David Chelimsky
On Wed, Feb 25, 2009 at 10:10 AM, Jeff Talbot wrote: > Hello, > > Something I do often is use stub methods in before blocks and mock > expectations in a specific examples (much like described here: > http://blog.davidchelimsky.net/2006/11/9/tutorial-rspec-stubs-and-mocks). > > I was just surprised