Displaying 1 result from an estimated 1 matches for "test_cache_already_record".
Did you mean:
test_cache_already_recorded
2006 Mar 27
1
Tests not tiding up after themselves?
...st/unit/article_test.rb
Loaded suite test/unit/article_test
Started
.
Finished in 0.203 seconds.
1 tests, 1 assertions, 0 failures, 0 errors
$ C:\devel\motiro>ruby test/unit/headline_test.rb | more
Loaded suite test/unit/headline_test
Started
EEEEEEEEEEE
Finished in 0.531 seconds.
1) Error:
test_cache_already_recorded(HeadlineTest):
ActiveRecord::StatementInvalid: Mysql::Error: #23000Cannot delete or update a pa
rent row: a foreign key constraint fails: DELETE FROM articles
----
The article tests use the :headlines, :articles and :changes fixtures
but the headline tests only need the :headlines and :articles...