Unit_tests and deleting from the database

I get errors when running rake test_units:

ActiveRecord::StatementInvalid: Mysql::Error: #23000Cannot delete or
update a pa
rent row: a foreign key constraint fails (overblijf_tst/groups,
CONSTRAINT fk _groups_locations FOREIGN KEY (location_id) REFERENCES locations
(id)): D
ELETE FROM locations

Any pointers??

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs