aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml
blob: 6285727968d96f8da8a654023ac7989d48eb39a5 (plain) (blame)
1
2
3
4
5
6
7
8
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# Set the $base_id variable in the setup method of your tests.
# It's used to ensure that ids don't clash in some databases.
first_<%= singular_name %>:
  id: 1

another_<%= singular_name %>:
  id: 2