1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures/randomly_named_a9.yml
Alexey Muranov 6468ff4197 Test fixtures with custom model and table names
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.
2011-12-30 10:34:01 +01:00

7 lines
135 B
YAML

first_instance:
some_attribute: AAA
another_attribute: 000
second_instance:
some_attribute: BBB
another_attribute: 999