mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6468ff4197
Test using fixtures with random names and model names, that is not following naming conventions but using set_fixture_class instead. It is expected that the table name be defined in the model, but this is not explicitly tested here. This will need to be fixed.
3 lines
114 B
Ruby
3 lines
114 B
Ruby
class ClassNameThatDoesNotFollowCONVENTIONS < ActiveRecord::Base
|
|
self.table_name = :randomly_named_table
|
|
end
|