]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/messages.yml
Make the node controller return the modified time for deleted nodes
[rails.git] / test / fixtures / messages.yml
index d66ebd6f030c363c630eec5e42746248c38d113c..0a54cce874b218d9a42bf7091612aa9a97277c77 100644 (file)
@@ -1,12 +1,21 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-one:
+unread_message:
   id: 1
-  from_user_id: users(:normal_user).id
+  from_user_id: 1
   title: test message 1
   body: some body text
   sent_on: "2008-05-01 12:34:56"
   message_read: false
-  to_user_id: users(:second_user).id
+  to_user_id: 2
+  from_user_visible: true
+  to_user_visible: true
   
-two:
+read_message:
   id: 2
+  from_user_id: 2
+  title: test message 2
+  body: some body test
+  sent_on: "2008-05-02 12:45:23"
+  message_read: true
+  to_user_id: 1
+  from_user_visible: true
+  to_user_visible: true