This project is archived and is in readonly mode.
Unit test fails when using non-standard table names
-
ohforf
- Tag changed from activerecord set_table_name test to activerecord fixtures set_table_name set_fixture_class
You have to explicitly call the undocumented function set_fixture_class in the test helper to make the fixtures work again:
set_fixture_class :pears => "Fruit::Pear"Maybe this should be documented in the set_table_name function.
-
ohforf
- Tag changed from activerecord fixtures set_table_name set_fixture_class to activerecord set_table_name test
- Title changed from Unit test fail when using non-standard table names to Unit test fails when using non-standard table names
-
José Valim
Please provide a patch to update the documentation, thanks.
-
Yehuda Katz (wycats)
- State changed from new to incomplete
- Milestone cleared.
-
Yehuda Katz (wycats)
- No changes were found…
-
Cesario
I tried to update the documentation with this patch. Tell me if this is enough.
-
Dan Pickett
- Tag changed from activerecord set_table_name test to activerecord set_table_name test, bugmash
-
Wijnand Wiersma
+1 for this documentation fix.
-
Bastes
No changes with the documentation fix ; already applied ?
-
Bastes
+1
Already applied. Close ?
-
Rizwan Reza
- Tag changed from activerecord set_table_name test, bugmash to activerecord set_table_name test
- State changed from incomplete to resolved
