I figured most of it out. The Spec::Rails stuff was something in the
code which has been fixed by revision 3099. The test methods partially
make sense. Since the test/unit code has been integrated, methods with
test in them are automatically turned into specs. However, the test?
method is i
I prefer the mantra "mock roles, not objects", in other words, mock things
that have behaviour (services, components, resources, whatever your
preferred term is) rather than stubbing out domain objects themselves. If
you have to mock domain objects it's usually a smell that your domain
implementati
Thanks for all the feedback. Personally, i am working outside in, from
views to models, so mocking does have its place. After lots of
trialing, I am confident now that a Factory class can satisfy my need
for using mocks and real models in different places. I define the
characteristics of an