Displaying 1 result from an estimated 1 matches for "secondary_school".
2006 Jul 26
1
fixtures not loading when running rake test - ok other times
...est:units.
Then, all other tests pass fine, but this one starts failing as if the
fixture data simply hasn''t loaded (counts of 0 where 3 were expected,
etc.).
Another reason I suspect it is fixture related is that I was referring
to the fixtures with the test shorthand "properties(:secondary_school)"
(where secondary_school is the name of one of my Property fixtures) --
again, this ran fine on its own, but threw errors (not fails, errors)
when I ran the test with all the other unit tests. Changing the test
code to explicitly find any property fixtures I needed from the database
fixe...