I get errors when running rake test_units: test_destroy(LocationTest): 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?? -- Posted via http://www.ruby-forum.com/.
Possibly Parallel Threads
- DB not being repopulated prior to Unit test execution
- Test data life cycle confusion
- How to write unit tests with respect to model callbacks?
- functional testing joins table problem
- NEWS on this SOUND PROBLEM !!!!! details !!!! CODERS WANTED ! HACKERS WANTED !