]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/messages.yml
Removing id's so that the ids are generated, and it makes it easier to deal with...
[rails.git] / test / fixtures / messages.yml
index b49c4eb4e1e9d522e9424c822ce1ce80662e94cc..feab6536ef91ea83ea57db374571630224fd8448 100644 (file)
@@ -1,5 +1,16 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 one:
-  id: 1
+  sender: normal_user
+  title: test message 1
+  body: some body text
+  sent_on: "2008-05-01 12:34:56"
+  message_read: false
+  recipient: second_user
+  
 two:
-  id: 2
+  sender: second_user
+  title: test message 2
+  body: some body test
+  sent_on: "2008-05-02 12:45:23"
+  message_read: true
+  recipient: normal_user