Displaying 1 result from an estimated 1 matches for "001_create_namespace_tests".
2006 May 19
1
Problems generating a model with a namespace
...test
create app/models/namespace
create test/unit/namespace
create test/fixtures/namespace
create app/models/namespace/test.rb
create test/unit/namespace/test_test.rb
create test/fixtures/namespace/tests.yml
create db/migrate
create db/migrate/001_create_namespace_tests.rb
However, the unit test has the line "fixtures :tests" which causes the
test to fail because it looks for the fixture file in
test/fixtures/tests.yml instead of test/fixtures/namespace.yml. How do I
tell the unit test to look for fixtures in it''s own namespace? Should I
fi...