Commit Graph

3 Commits

Author SHA1 Message Date
Alexey Muranov ae8bb11842 Fix a fixtures test case with table prefix/suffix
Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix.
2011-12-27 02:17:31 +01:00
Jon Leighton 91681c281b Revert "Merge pull request #4114 from alexeymuranov/my_fix_for_prefix_suffix_fixtures_test"
This reverts commit f8e484d0f7, reversing
changes made to fa5adfb1e8.

Reason: broke the postgres tests.
2011-12-22 17:04:01 +00:00
Alexey Muranov adb917a0d8 Fix a fixtures test case with table prefix/suffix
Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix.  This was somebody else's test case, so an independent opinion on the change can be helpful.
2011-12-22 15:07:45 +01:00