Documentation for mocks?

Is there any documentation about how mock objects work in RoR,
specifically exactly how one should use the test/mocks directory. Is it
just me being incompetent searching for it, or hasn’t this been
documented yet?

Thanks in advance for your help!

paul.butcher->msgCount++

Snetterton, Castle Combe, Cadwell Park…
Who says I have a one track mind?

On 21 Jan 2006, at 15:09, Paul B. wrote:

Is there any documentation about how mock objects work in RoR,
specifically exactly how one should use the test/mocks directory.
Is it
just me being incompetent searching for it, or hasn’t this been
documented yet?

This any good to you?

http://scott.elitists.net/users/scott/posts/mockery

They’re pretty simple to be honest. Although, if you think they need
better documentation, you know what you could do… :slight_smile:

Paul R. wrote:

This any good to you?

http://scott.elitists.net/users/scott/posts/mockery

It’s a start, certainly :slight_smile:

They’re pretty simple to be honest. Although, if you think they need
better documentation, you know what you could do… :slight_smile:

I’ll wait until I actually understand what’s going on before I write
anything, but yes, on the face of it, they look pretty straightforward.

Thanks for the pointer!

paul.butcher->msgCount++

Snetterton, Castle Combe, Cadwell Park…
Who says I have a one track mind?