aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-04 12:52:49 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-04 12:52:49 -0300
commit54d8c81fefdb566c2f317afd0142cade0273bdbc (patch)
treef1d77594855b8d706ca557ecdd551b4a0c16e524 /activerecord/test/fixtures
parentb9774a594339d5ac92503d91d180d88ec1faf436 (diff)
parent933063188870347b59b35d4f96df21864d0f8f0b (diff)
downloadrails-54d8c81fefdb566c2f317afd0142cade0273bdbc.tar.gz
rails-54d8c81fefdb566c2f317afd0142cade0273bdbc.tar.bz2
rails-54d8c81fefdb566c2f317afd0142cade0273bdbc.zip
Merge pull request #12016 from roderickvd/uuid_fixes
Auto-generate stable fixture UUIDs on PostgreSQL Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/fixtures.rb activerecord/test/cases/adapters/postgresql/uuid_test.rb activesupport/CHANGELOG.md
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/uuid_children.yml3
-rw-r--r--activerecord/test/fixtures/uuid_parents.yml2
2 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/uuid_children.yml b/activerecord/test/fixtures/uuid_children.yml
new file mode 100644
index 0000000000..a7b15016e2
--- /dev/null
+++ b/activerecord/test/fixtures/uuid_children.yml
@@ -0,0 +1,3 @@
+sonny:
+ uuid_parent: daddy
+ name: Sonny
diff --git a/activerecord/test/fixtures/uuid_parents.yml b/activerecord/test/fixtures/uuid_parents.yml
new file mode 100644
index 0000000000..0b40225c5c
--- /dev/null
+++ b/activerecord/test/fixtures/uuid_parents.yml
@@ -0,0 +1,2 @@
+daddy:
+ name: Daddy