This project is archived and is in readonly mode.
Models Named Test* cause test failures
-
Matt Jones
This is a gotcha with the fixture loading; if you remove test_somethings.yml from fixtures/ the test will pass.
The conflict comes from the accessor method that AR generates; it would be test_somethings(:fixture_name) for this case. Unfortunately, then Test::Unit tries to run that function...
-
Michael Koziarski
- State changed from new to wontfix
This is an inherent limitation with test/unit. The fixture accessors are treated as test methods.
The only option short of renaming all those models is to not use the fixtures as mentioned by matt.