Thanks for the quick reply. Actually, I wanted to split my tests in 2 
separate categories, the first for classes that don't need the database at 
all, and the other one for classes that do.

The methods that I defined on my models are just small convenience methods 
so they don't need the database, that's why I thought I could use a mock 
database and test them separately.

Is there really no way around this? I thought I could define the accessors 
manually but that doesn't work when using a real database.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to