Displaying 1 result from an estimated 1 matches for "fixturemodelclass".
2011 Dec 25
1
Fixtures vs Fixture class, what is the intended purpose?
...nsidering to propose changing some fixtures API, like to
make the (undocumented?) class attribute
`TestFixtures::fixture_table_names` to hold a Hash of `"fixture_name" =>
:table_name`, similarly to `TestFixtures::fixture_class_names` holding
the Hash of `"fixture_name" => FixtureModelClass` (i would also propose
to rename). Currently `TestFixtures::fixture_table_names` holds an
Array. I am also trying to fix the meaning of `fixture_name`, which
before was sometimes used interchangeably with `table_name`: i want it
to be in the form `"admin/users"` instead of `:admin_users...