Displaying 1 result from an estimated 1 matches for "myclass_test".
2006 Jun 02
3
Wierdness with rake test_units and schema.rb
...association tables is
not created, this leads to failures for some unit test cases.
Thinking that may be because I didn''t setup the database correctly, I
reload the sql file (with the index defined) into both test and
development database.
run the test mannually, i.e. ruby test/units/myclass_test.rb works fine.
But when I invoke rake test_units to run all unit tests in a batch, I
have the same problem again. It seems db/schema.rb generated from the
rake test_units has missed some of the indexes definition for some of
the tables.
Anyone know where I should look to locate the problem? It...