I might be misunderstanding, but this does not make sense to me at all.
The reason there is a test database in the first place is that it gives
you a reliable state at the beginning of each
TestCase/test/context/spec. To me, this implies that when I do not load
fixtures at all, I get an empty DB (this IS a boundary condition, and I
have to test it).
Also between different model's tests, the DB is never cleaned, given I
have no fixtures statements.
How can I ensure I have a DB that is clean except for the structure in
a TestCase/test/context/spec? Model.delete_all in the setup method?
What if I need my fixtures later in the test case? Model.delete_all in
the test methods themselves? Another test case? This all looks like
workarounds to me.
I'd be happy to be proven wrong, but this does look like a design error
to me. Wouldn't it be more concise to just wipe the test DB upon
entering a TestCase/context?
P.S.: This is my first post to this group. I am a web developer from
Germany, and found RoR to be a perfect match for me about 3 months ago.
So please excuse my ignorance and grammar errors.