Tarmo Tänav wrote:
> I'm not actually proposing a mixed system, I'd just like a way to
> load the fixtures like they are currently loaded but do it once
> and only once for all tests.
>
>   
I seriously agree with Tarmo.

Especially painful if trying to use Rails test fixtures and DB integrity
at the same time. In the end I usually let Rails "win", and let Rails
tests & validations do its jobs rather than trying to RI everything into DB.

It'd be great to be able to specify loading order for the fixtures
globally :)

This is especially true because the greatest blocker I've come through
when using DB RI with Rails is when doing 'rake test' (with fixtures).
The app itself work fine with or without RI. Although using RI gives me
some sort of added "safety".... (and... redundancy :-)

-- 
Hendy Irawan
www.hendyirawan.com





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to