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/bad_posts.yml
Yves Senn 591a0bb87f Merge pull request #20574 from repinel/fix-db-fixtures-load
Allow fixtures YAML files to set the model class in the file itself

Conflicts:
	activerecord/CHANGELOG.md
2015-09-30 11:06:41 +02:00

9 lines
207 B
YAML

# Please do not use this fixture without `set_fixture_class` as Post
_fixture:
model_class: BadPostModel
bad_welcome:
author_id: 1
title: Welcome to the another weblog
body: It's really nice today