Robert Jones wrote:
> When I run my entire test suite, I get an error - duplicate ids of 0 when
> trying to create 2 new objects.  But the tables they are stored in is
> auto-incremented, of course?  It WAS - after running the test suite, the
> auto-increment has been wiped from the table.  If I reinstate the
> auto-increment then run the single test that threw the error, it passes.
> If I then run the whole suite again, it chucks out an error again and the
> auto-increment has been wiped again.
> 
> Can anyone explain this?
> 
Aargh! Yet another "I''m an eejit" one I''m afraid. 
Mistake was in the
production database, and kept getting cloned across by rake when I ran the
full suite.  And this was despite my strict new rule - think hard for 30
minutes at least before posting to list, to avoid making a twat of
yourself.
Oh well....
-- 
Robert Jones