On 15 December 2010 11:47, Dmytrii Nagirniak <[email protected]> wrote:
> Most of the time we don't really want to test the persistence, but rather
> how XYZ behaves.
Yeah this is the key here... the difficultly arises when models do a
heap of SomeOtherModel.find .. I guess spec(SomeOtherModel).find
{some_instance_instance_in_memory} could be used.
I'll see what I can do with few small specs.
Robert
[1] rr syntax
--
You received this message because you are subscribed to the Google Groups "Ruby
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en.